diff --git a/.github/workflows/buildtest.yml b/.github/workflows/buildtest.yml index fcf50a7..e78aafc 100644 --- a/.github/workflows/buildtest.yml +++ b/.github/workflows/buildtest.yml @@ -12,18 +12,55 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x, 20.x, 22.x] + steps: - uses: actions/checkout@v4 - - name: Use Node.js 16.15 + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: - node-version: 16.15 + node-version: ${{ matrix.node-version }} cache: 'npm' registry-url: 'https://npm.pkg.github.com' - - run: npm ci + - run: npm ci --engine-strict env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: npm run format-check -ws - run: npm run build -ws - run: npm run lint -ws - run: npm test -ws + + check-generated: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js 22.x + uses: actions/setup-node@v4 + with: + node-version: 22.x + cache: 'npm' + registry-url: 'https://npm.pkg.github.com' + - run: npm ci + env: + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Regenerate JSON files + run: | + cd languageservice && npm run update-webhooks && cd .. + - name: Check for uncommitted changes + run: | + if ! git diff --exit-code; then + echo "" + echo "==========================================" + echo "ERROR: Generated files are out of date!" + echo "==========================================" + echo "" + echo "Please run the following commands locally and commit the changes:" + echo "" + echo " cd languageservice && npm run update-webhooks && cd .." + echo " git add -A && git commit -m 'Regenerate JSON files'" + echo "" + exit 1 + fi diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c67ae87..f331485 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,7 +69,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 16.x + node-version: 22.x cache: "npm" scope: '@actions' diff --git a/.gitignore b/.gitignore index 3609de4..19369cf 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,12 @@ */dist lerna-debug.log node_modules -.DS_Store \ No newline at end of file +.DS_Store + +# Minified JSON (generated at build time) +*.min.json + +# Intermediate JSON for size comparison (generated by update-webhooks --all) +*.all.json +*.drop.json +*.strip.json \ No newline at end of file diff --git a/README.md b/README.md index 79f7120..8aab917 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ This repository contains multiple npm packages for working with GitHub Actions w - [languageserver](./languageserver) - Language Server for GitHub Actions, hosting the language service for LSP-compatible editors - [browser-playground](./browser-playground) - Browser-based playground for the language service +## Documentation + +- [JSON Data Files](./docs/json-data-files.md) - How the JSON data files are generated and maintained + ### Note Thank you for your interest in this GitHub repo, however, right now we are not taking contributions. diff --git a/docs/json-data-files.md b/docs/json-data-files.md new file mode 100644 index 0000000..6230cc9 --- /dev/null +++ b/docs/json-data-files.md @@ -0,0 +1,197 @@ +# JSON Data Files + +This document describes the JSON data files used by the language service packages and how they are maintained. + +## Overview + +The language service uses several JSON files containing schema definitions, webhook payloads, and other metadata. To reduce bundle size, these files are: + +1. **Optimized at generation time** — unused events are dropped, unused fields are stripped +2. **Minified at build time** — whitespace is removed to produce `.min.json` files + +The source `.json` files are human-readable and checked into the repository. The `.min.json` files are generated during build and gitignored. + +## Files + +### languageservice + +| File | Description | +|------|-------------| +| `src/context-providers/events/webhooks.json` | Webhook event payload schemas for autocompletion | +| `src/context-providers/events/objects.json` | Deduplicated shared object definitions referenced by webhooks | +| `src/context-providers/events/schedule.json` | Schedule event context data | +| `src/context-providers/events/workflow_call.json` | Reusable workflow call context data | +| `src/context-providers/descriptions.json` | Context variable descriptions for hover | + +### workflow-parser + +| File | Description | +|------|-------------| +| `src/workflow-v1.0.json` | Workflow YAML schema definition | + +## Generation + +### Webhooks and Objects + +The `webhooks.json` and `objects.json` files are generated from the [GitHub REST API description](https://github.com/github/rest-api-description): + +```bash +cd languageservice +npm run update-webhooks +``` + +This script: +1. Fetches webhook schemas from the GitHub API description +2. **Validates** all events are categorized (fails if new events are found) +3. **Drops** events that aren't valid workflow triggers (see [Dropped Events](#dropped-events)) +4. **Strips** unused fields like `description` and `summary` (see [Stripped Fields](#stripped-fields)) +5. **Deduplicates** shared object definitions into `objects.json` +6. Writes the optimized, pretty-printed JSON files + +### Handling New Webhook Events + +When GitHub adds a new webhook event, the script will fail with an error like: + +``` +ERROR: New webhook event(s) detected! + +The following events are not categorized: + - new_event_name + +Action required: + 1. Check if the event is a valid workflow trigger + 2. Add the event to DROPPED_EVENTS or KEPT_EVENTS +``` + +**To resolve:** + +1. Check [Events that trigger workflows](https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows) + +2. Edit `languageservice/script/webhooks/index.ts`: + - Add to `KEPT_EVENTS` if it's a valid workflow trigger + - Add to `DROPPED_EVENTS` if it's GitHub App or API-only + +3. Run `npm run update-webhooks` and commit the changes + +#### Viewing Full Unprocessed Data + +To see all available fields and events before optimization: + +```bash +npm run update-webhooks -- --all +``` + +This generates `webhooks.all.json` and `objects.all.json` (gitignored) containing the complete unprocessed data from the GitHub API. + +### Other Files + +The other JSON files (`schedule.json`, `workflow_call.json`, `descriptions.json`, `workflow-v1.0.json`) are manually maintained. + +## Minification + +At build time, all JSON files are minified (whitespace removed) to produce `.min.json` versions: + +```bash +npm run minify-json +``` + +This runs automatically via `prebuild` and `pretest` hooks, so you don't need to run it manually. + +The code imports the minified versions: + +```ts +import webhooks from "./events/webhooks.min.json" +``` + +## CI Verification + +CI verifies that generated source files are up-to-date: + +1. Runs `npm run update-webhooks` to regenerate webhooks.json and objects.json +2. Checks for uncommitted changes with `git diff --exit-code` + +The `.min.json` files are generated at build time and are not committed to the repository. + +If the build fails, run `cd languageservice && npm run update-webhooks` locally and commit the changes. + +## Dropped Events + +Webhook events that aren't valid workflow `on:` triggers are dropped (e.g., `installation`, `ping`, `member`, etc.). These are GitHub App or API-only events. + +See `DROPPED_EVENTS` in `script/webhooks/index.ts` for the full list. + +## Stripped Fields + +Unused fields are stripped to reduce bundle size. For example: + +```json +// Before (from webhooks.all.json) +{ + "type": "object", + "name": "issue", + "in": "body", + "description": "The issue itself.", + "isRequired": true, + "childParamsGroups": [...] +} + +// After (webhooks.json) +{ + "name": "issue", + "description": "The issue itself.", + "childParamsGroups": [...] +} +``` + +Only `name`, `description`, and `childParamsGroups` are kept — these are used for autocompletion and hover docs. + +To compare all fields vs stripped, run `npm run update-webhooks -- --all` and diff the `.all.json` files against the regular ones. + +See `EVENT_ACTION_FIELDS` and `BODY_PARAM_FIELDS` in `script/webhooks/index.ts` to modify what gets stripped. + +## Schema Synchronization + +The `workflow-v1.0.json` schema defines which activity types are valid for each workflow trigger event. A test in `workflow-parser/src/schema-sync.test.ts` verifies these stay in sync with `webhooks.json`. + +### When the Test Fails + +If the schema-sync test fails, you'll see an error like: + +``` +Event "pull_request" is missing activity type "new_activity" in workflow-v1.0.json +``` + +**To resolve:** + +1. Check [Events that trigger workflows](https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows) to verify the activity type is a valid workflow trigger: + - Find the event section (e.g., "pull_request") + - Look at the "Activity types" table — it lists which types can be used in `on..types` + - If the type is listed there, it's a valid workflow trigger + - If the type only appears in webhook docs but NOT in the workflow trigger docs, it's webhook-only + +2. If it IS a valid workflow trigger: + - Edit `workflow-parser/src/workflow-v1.0.json` + - Find the `-activity-type` definition (e.g., `pull-request-activity-type`) + - Add the new activity type to `allowed-values` + - Update the `description` in `-activity` to list all types + - Run `npm test` to regenerate the minified JSON + +3. If it is NOT a valid workflow trigger (webhook-only): + - Edit `workflow-parser/src/schema-sync.test.ts` + - Add the type to `WEBHOOK_ONLY` for that event + +### Known Discrepancies + +The test tracks several types of known discrepancies: + +| Category | Purpose | Example | +|----------|---------|---------| +| `WEBHOOK_ONLY` | Types in webhooks that aren't valid workflow triggers | `check_suite.requested` | +| `SCHEMA_ONLY` | Types valid for workflows but missing from webhooks | `registry_package.updated` | +| `NAME_MAPPINGS` | Different names for the same concept | `project_column`: webhook uses `edited`, schema uses `updated` | + +### Bidirectional Checking + +The test checks both directions: +- **webhooks → schema**: Ensures all webhook activity types are in the schema (or listed in `WEBHOOK_ONLY`) +- **schema → webhooks**: Ensures the schema doesn't have types that don't exist in webhooks (or listed in `SCHEMA_ONLY` or `NAME_MAPPINGS`) diff --git a/expressions/package.json b/expressions/package.json index 2552d3b..78326df 100755 --- a/expressions/package.json +++ b/expressions/package.json @@ -1,6 +1,6 @@ { "name": "@actions/expressions", - "version": "0.3.17", + "version": "0.3.25", "license": "MIT", "type": "module", "source": "./src/index.ts", @@ -9,10 +9,12 @@ }, "exports": { ".": { - "import": "./dist/index.js" + "import": "./dist/index.js", + "types": "./dist/index.d.ts" }, "./*": { - "import": "./dist/*.js" + "import": "./dist/*.js", + "types": "./dist/*.d.ts" } }, "typesVersions": { @@ -42,7 +44,7 @@ "watch": "tsc --build tsconfig.build.json --watch" }, "engines": { - "node": ">= 16.15" + "node": ">= 18" }, "files": [ "dist/**/*" diff --git a/languageserver/package.json b/languageserver/package.json index 3f0ee2b..8df6eac 100644 --- a/languageserver/package.json +++ b/languageserver/package.json @@ -1,6 +1,6 @@ { "name": "@actions/languageserver", - "version": "0.3.17", + "version": "0.3.25", "description": "Language server for GitHub Actions", "license": "MIT", "type": "module", @@ -43,8 +43,8 @@ "watch": "tsc --build tsconfig.build.json --watch" }, "dependencies": { - "@actions/languageservice": "^0.3.17", - "@actions/workflow-parser": "^0.3.17", + "@actions/languageservice": "^0.3.25", + "@actions/workflow-parser": "^0.3.25", "@octokit/rest": "^21.1.1", "@octokit/types": "^9.0.0", "vscode-languageserver": "^8.0.2", @@ -52,7 +52,7 @@ "yaml": "^2.1.3" }, "engines": { - "node": ">= 16.15" + "node": ">= 18" }, "files": [ "dist/**/*" diff --git a/languageserver/src/context-providers.test.ts b/languageserver/src/context-providers.test.ts new file mode 100644 index 0000000..59f948e --- /dev/null +++ b/languageserver/src/context-providers.test.ts @@ -0,0 +1,76 @@ +import {data, DescriptionDictionary} from "@actions/expressions"; +import {WorkflowContext} from "@actions/languageservice/context/workflow-context"; +import {Mode} from "@actions/languageservice/context-providers/default"; +import {contextProviders} from "./context-providers"; +import {RepositoryContext} from "./initializationOptions"; +import {TTLCache} from "./utils/cache"; + +describe("contextProviders", () => { + const mockCache = new TTLCache(); + const mockRepo: RepositoryContext = { + id: 123, + owner: "test-owner", + name: "test-repo", + organizationOwned: true, + workspaceUri: "file:///workspace" + }; + const mockWorkflowContext: WorkflowContext = { + uri: "test.yaml", + template: undefined + }; + + describe("when client is undefined", () => { + it("should return incomplete context for secrets", async () => { + const config = contextProviders(undefined, mockRepo, mockCache); + const result = await config.getContext("secrets", undefined, mockWorkflowContext, Mode.Validation); + + expect(result).toBeInstanceOf(DescriptionDictionary); + expect((result as DescriptionDictionary).complete).toBe(false); + }); + + it("should return incomplete context for vars", async () => { + const config = contextProviders(undefined, mockRepo, mockCache); + const result = await config.getContext("vars", undefined, mockWorkflowContext, Mode.Validation); + + expect(result).toBeInstanceOf(DescriptionDictionary); + expect((result as DescriptionDictionary).complete).toBe(false); + }); + + it("should preserve defaultContext and mark as incomplete for secrets", async () => { + const config = contextProviders(undefined, mockRepo, mockCache); + const defaultContext = new DescriptionDictionary(); + defaultContext.add("EXISTING_SECRET", new data.StringData("test")); + + const result = await config.getContext("secrets", defaultContext, mockWorkflowContext, Mode.Validation); + + expect(result).toBe(defaultContext); + expect((result as DescriptionDictionary).complete).toBe(false); + expect((result as DescriptionDictionary).get("EXISTING_SECRET")).toBeDefined(); + }); + + it("should return undefined for other contexts like steps", async () => { + const config = contextProviders(undefined, mockRepo, mockCache); + const result = await config.getContext("steps", undefined, mockWorkflowContext, Mode.Validation); + + expect(result).toBeUndefined(); + }); + }); + + describe("when both client and repo are undefined", () => { + it("should return incomplete context for secrets", async () => { + const config = contextProviders(undefined, undefined, mockCache); + const result = await config.getContext("secrets", undefined, mockWorkflowContext, Mode.Validation); + + expect(result).toBeInstanceOf(DescriptionDictionary); + expect((result as DescriptionDictionary).complete).toBe(false); + }); + + it("should return incomplete context for vars", async () => { + const config = contextProviders(undefined, undefined, mockCache); + const result = await config.getContext("vars", undefined, mockWorkflowContext, Mode.Validation); + + expect(result).toBeInstanceOf(DescriptionDictionary); + expect((result as DescriptionDictionary).complete).toBe(false); + }); + }); +}); diff --git a/languageserver/src/context-providers.ts b/languageserver/src/context-providers.ts index 243baf7..4ae90ef 100644 --- a/languageserver/src/context-providers.ts +++ b/languageserver/src/context-providers.ts @@ -15,7 +15,18 @@ export function contextProviders( cache: TTLCache ): ContextProviderConfig { if (!repo || !client) { - return {getContext: () => Promise.resolve(undefined)}; + // When GitHub client/repo is unavailable, return an incomplete dictionary + // to avoid false "Context access might be invalid" warnings + return { + getContext: (name: string, defaultContext: DescriptionDictionary | undefined) => { + if (name === "secrets" || name === "vars") { + const context = defaultContext || new DescriptionDictionary(); + context.complete = false; + return Promise.resolve(context); + } + return Promise.resolve(undefined); + } + }; } const getContext = async ( diff --git a/languageserver/src/context-providers/secrets.ts b/languageserver/src/context-providers/secrets.ts index 40b34f0..7507835 100644 --- a/languageserver/src/context-providers/secrets.ts +++ b/languageserver/src/context-providers/secrets.ts @@ -49,7 +49,7 @@ export async function getSecrets( if (isString(x.value)) { environmentName = x.value.value; } else { - // this means we have a dynamic enviornment, in those situations we + // this means we have a dynamic environment, in those situations we // want to make sure we skip doing secret validation secretsContext.complete = false; } diff --git a/languageserver/src/context-providers/steps.test.ts b/languageserver/src/context-providers/steps.test.ts index d5e1818..42f0c47 100644 --- a/languageserver/src/context-providers/steps.test.ts +++ b/languageserver/src/context-providers/steps.test.ts @@ -1,4 +1,4 @@ -import {data, DescriptionDictionary} from "@actions/expressions"; +import {data, DescriptionDictionary, isDescriptionDictionary} from "@actions/expressions"; import {getStepsContext as getDefaultStepsContext} from "@actions/languageservice/context-providers/steps"; import {Octokit} from "@octokit/rest"; import fetchMock from "fetch-mock"; @@ -63,6 +63,43 @@ it("returns default context when job is undefined", async () => { expect(stepsContext).toEqual(defaultContext); }); +it("outputs is an incomplete dictionary to allow dynamic outputs", async () => { + const mock = fetchMock + .sandbox() + .getOnce("https://api.github.com/repos/actions/cache/contents/action.yml?ref=v3", actionMetadata); + + const workflowContext = await createWorkflowContext(workflow, "build"); + const defaultContext = getDefaultStepsContext(workflowContext); + + const stepsContext = await getStepsContext( + new Octokit({ + request: { + fetch: mock + } + }), + new TTLCache(), + defaultContext, + workflowContext + ); + + // Get the step context + const stepContext = stepsContext?.get("cache-primes"); + expect(stepContext).toBeDefined(); + expect(isDescriptionDictionary(stepContext!)).toBe(true); + + // Get the outputs - should be a dictionary, not null + const outputs = (stepContext as DescriptionDictionary).get("outputs"); + expect(outputs).toBeDefined(); + expect(isDescriptionDictionary(outputs!)).toBe(true); + + // Outputs should be marked incomplete to allow dynamic outputs + const outputsDict = outputs as DescriptionDictionary; + expect(outputsDict.complete).toBe(false); + + // Known outputs from action.yml should be present + expect(outputsDict.get("cache-hit")).toBeDefined(); +}); + it("adds action outputs", async () => { const mock = fetchMock .sandbox() @@ -83,17 +120,22 @@ it("adds action outputs", async () => { ); expect(stepsContext).toBeDefined(); + // Create expected outputs dict with complete = false + // (actions can have dynamic outputs beyond what's declared in action.yml) + const expectedOutputs = new DescriptionDictionary({ + key: "cache-hit", + value: new data.StringData("A boolean value to indicate an exact match was found for the primary key"), + description: "A boolean value to indicate an exact match was found for the primary key" + }); + expectedOutputs.complete = false; + expect(stepsContext).toEqual( new DescriptionDictionary({ key: "cache-primes", value: new DescriptionDictionary( { key: "outputs", - value: new DescriptionDictionary({ - key: "cache-hit", - value: new data.StringData("A boolean value to indicate an exact match was found for the primary key"), - description: "A boolean value to indicate an exact match was found for the primary key" - }) + value: expectedOutputs }, { key: "conclusion", diff --git a/languageserver/src/context-providers/steps.ts b/languageserver/src/context-providers/steps.ts index 5aa8731..a78cd9e 100644 --- a/languageserver/src/context-providers/steps.ts +++ b/languageserver/src/context-providers/steps.ts @@ -58,6 +58,8 @@ export async function getStepsContext( continue; } const outputsDict = new DescriptionDictionary(); + // Actions can have dynamic outputs beyond what's declared in action.yml + outputsDict.complete = false; for (const [key, value] of Object.entries(outputs)) { outputsDict.add(key, new data.StringData(value.description), value.description); } diff --git a/languageserver/src/context-providers/variables.ts b/languageserver/src/context-providers/variables.ts index 7926ab6..e26fc81 100644 --- a/languageserver/src/context-providers/variables.ts +++ b/languageserver/src/context-providers/variables.ts @@ -26,6 +26,8 @@ export async function getVariables( return secretsContext; } + const variablesContext = defaultContext || new DescriptionDictionary(); + let environmentName: string | undefined; if (workflowContext?.job?.environment) { if (isString(workflowContext.job.environment)) { @@ -35,14 +37,19 @@ export async function getVariables( if (isString(x.key) && x.key.value === "name") { if (isString(x.value)) { environmentName = x.value.value; + } else { + // this means we have a dynamic environment, in those situations we want to skip validation + variablesContext.complete = false; } break; } } + } else { + // if the expression is something like environment: ${{ ... }} then we want to skip validation + variablesContext.complete = false; } } - const variablesContext = defaultContext || new DescriptionDictionary(); try { const variables = await getRemoteVariables(octokit, cache, repo, environmentName); diff --git a/languageservice/package.json b/languageservice/package.json index c9ae6bf..282c373 100644 --- a/languageservice/package.json +++ b/languageservice/package.json @@ -1,6 +1,6 @@ { "name": "@actions/languageservice", - "version": "0.3.17", + "version": "0.3.25", "description": "Language service for GitHub Actions", "license": "MIT", "type": "module", @@ -37,22 +37,25 @@ "format-check": "prettier --check '**/*.ts'", "lint": "eslint 'src/**/*.ts'", "lint-fix": "eslint --fix 'src/**/*.ts'", + "minify-json": "node ../script/minify-json.js src/context-providers/descriptions.json src/context-providers/events/webhooks.json src/context-providers/events/objects.json src/context-providers/events/schedule.json src/context-providers/events/workflow_call.json", + "prebuild": "npm run minify-json", "prepublishOnly": "npm run build && npm run test", + "pretest": "npm run minify-json", "test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest", "test-watch": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --watch", - "update-webhooks": "ts-node-esm script/webhooks/index.ts", + "update-webhooks": "npx tsx script/webhooks/index.ts", "watch": "tsc --build tsconfig.build.json --watch" }, "dependencies": { - "@actions/expressions": "^0.3.17", - "@actions/workflow-parser": "^0.3.17", + "@actions/expressions": "^0.3.25", + "@actions/workflow-parser": "^0.3.25", "vscode-languageserver-textdocument": "^1.0.7", "vscode-languageserver-types": "^3.17.2", "vscode-uri": "^3.0.8", "yaml": "^2.1.1" }, "engines": { - "node": ">= 16.15" + "node": ">= 18" }, "files": [ "dist/**/*" diff --git a/languageservice/script/webhooks/index.ts b/languageservice/script/webhooks/index.ts index 51f2f4f..1e6e617 100755 --- a/languageservice/script/webhooks/index.ts +++ b/languageservice/script/webhooks/index.ts @@ -7,6 +7,185 @@ const schema = schemaImport as any; const OUTPUT_PATH = "./src/context-providers/events/webhooks.json"; const OBJECTS_PATH = "./src/context-providers/events/objects.json"; +const ALL_OUTPUT_PATH = "./src/context-providers/events/webhooks.all.json"; +const ALL_OBJECTS_PATH = "./src/context-providers/events/objects.all.json"; +const DROP_OUTPUT_PATH = "./src/context-providers/events/webhooks.drop.json"; +const DROP_OBJECTS_PATH = "./src/context-providers/events/objects.drop.json"; +const STRIP_OUTPUT_PATH = "./src/context-providers/events/webhooks.strip.json"; +const STRIP_OBJECTS_PATH = "./src/context-providers/events/objects.strip.json"; + +// Parse --all flag +const generateAll = process.argv.includes("--all"); + +// Events to drop - not valid workflow triggers (GitHub App or API-only events) +// See: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows +const DROPPED_EVENTS = new Set([ + "branch_protection_configuration", + "code_scanning_alert", + "commit_comment", + "custom_property", + "custom_property_values", + "dependabot_alert", + "deploy_key", + "github_app_authorization", + "installation", + "installation_repositories", + "installation_target", + "marketplace_purchase", + "member", + "membership", + "merge_group", + "meta", + "org_block", + "organization", + "package", + "personal_access_token_request", + "ping", + "repository", + "repository_advisory", + "repository_ruleset", + "secret_scanning_alert", + "secret_scanning_alert_location", + "security_advisory", + "security_and_analysis", + "sponsorship", + "star", + "team", + "team_add" +]); + +// Events to keep - valid workflow triggers +// See: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows +const KEPT_EVENTS = new Set([ + "branch_protection_rule", + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issue_comment", + "issues", + "label", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "projects_v2", + "projects_v2_item", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "pull_request_review_thread", + "push", + "registry_package", + "release", + "repository_dispatch", + "repository_import", + "repository_vulnerability_alert", + "status", + "watch", + "workflow_dispatch", + "workflow_job", + "workflow_run" +]); + +/** + * Fields to strip from the JSON data. + * + * EVENT_ACTION_FIELDS: stripped from each event action object (top level only) + * Example event action object before stripping: + * { + * "description": "This event is triggered when...", // <-- stripped + * "summary": "A brief summary", // <-- stripped + * "availability": ["repository"], // <-- stripped + * "category": "issues", // <-- stripped + * "action": "opened", // kept + * "bodyParameters": [...] // kept + * } + * + * BODY_PARAM_FIELDS: stripped from every bodyParameters object, recursively through childParamsGroups + * Example bodyParameter object before stripping: + * { + * "type": "object", // <-- stripped + * "name": "changes", // kept (used for property names) + * "in": "body", // <-- stripped + * "description": "The changes that were made.", // kept (used for hover docs) + * "isRequired": true, // <-- stripped + * "enum": ["a", "b"], // <-- stripped + * "default": "a", // <-- stripped + * "childParamsGroups": [ // kept (used for nested properties) + * { + * "type": "string", // <-- stripped (recursive) + * "name": "from", // kept + * "isRequired": true // <-- stripped (recursive) + * } + * ] + * } + */ +const EVENT_ACTION_FIELDS = ["description", "summary", "availability", "category"]; +const BODY_PARAM_FIELDS = ["type", "in", "isRequired", "enum", "default"]; + +/** + * Strip fields from a bodyParameter object and recursively from childParamsGroups. + */ +function stripBodyParam(param: any): any { + if (typeof param !== "object" || param === null) { + return param; + } + + const result: any = {}; + for (const [key, value] of Object.entries(param)) { + if (BODY_PARAM_FIELDS.includes(key)) { + continue; // Strip this field + } + if (key === "childParamsGroups" && Array.isArray(value)) { + result[key] = value.map(stripBodyParam); + } else { + result[key] = value; + } + } + return result; +} + +/** + * Strip unused fields from event action data. + */ +function stripEventActionFields(action: any): any { + const result: any = {}; + for (const [key, value] of Object.entries(action)) { + if (EVENT_ACTION_FIELDS.includes(key)) { + continue; // Strip this field + } + if (key === "bodyParameters" && Array.isArray(value)) { + result[key] = value.map((p: any) => (typeof p === "number" ? p : stripBodyParam(p))); + } else { + result[key] = value; + } + } + return result; +} + +/** + * Strip unused fields from all webhooks. + * Structure: { eventName: { actionName: { ...fields } } } + */ +function stripFields(webhooks: Record>): Record> { + const result: Record> = {}; + for (const [eventName, actions] of Object.entries(webhooks)) { + result[eventName] = {}; + for (const [actionName, actionData] of Object.entries(actions)) { + result[eventName][actionName] = stripEventActionFields(actionData); + } + } + return result; +} const rawWebhooks = Object.values(schema.webhooks || schema["x-webhooks"]) as any[]; if (!rawWebhooks) { @@ -20,11 +199,51 @@ for (const webhook of Object.values(rawWebhooks)) { await Promise.all(webhooks.map(webhook => webhook.process())); +// Check for unknown events (not in DROPPED_EVENTS or KEPT_EVENTS) +const unknownEvents: string[] = []; +for (const webhook of webhooks) { + if (!DROPPED_EVENTS.has(webhook.category) && !KEPT_EVENTS.has(webhook.category)) { + if (!unknownEvents.includes(webhook.category)) { + unknownEvents.push(webhook.category); + } + } +} + +if (unknownEvents.length > 0) { + console.error(""); + console.error("══════════════════════════════════════════════════════════════════"); + console.error("ERROR: New webhook event(s) detected!"); + console.error("══════════════════════════════════════════════════════════════════"); + console.error(""); + console.error("The following events are not categorized:"); + for (const event of unknownEvents.sort()) { + console.error(` - ${event}`); + } + console.error(""); + console.error("Action required:"); + console.error(" 1. Check if the event is a valid workflow trigger:"); + console.error( + " https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows" + ); + console.error(""); + console.error(" 2. Add the event to DROPPED_EVENTS or KEPT_EVENTS in:"); + console.error(" languageservice/script/webhooks/index.ts"); + console.error(""); + console.error(" 3. See docs/json-data-files.md for more details."); + console.error(""); + process.exit(1); +} + // The category is the name of the webhook const categorizedWebhooks: Record> = {}; for (const webhook of webhooks) { if (!webhook.action) webhook.action = "default"; + // Drop unused events + if (DROPPED_EVENTS.has(webhook.category)) { + continue; + } + if (categorizedWebhooks[webhook.category]) { categorizedWebhooks[webhook.category][webhook.action] = webhook; } else { @@ -33,7 +252,59 @@ for (const webhook of webhooks) { } } -const objectsArray = deduplicateWebhooks(categorizedWebhooks); +// Strip fields before deduplication +const strippedWebhooks = stripFields(categorizedWebhooks); +// Deduplicate after dropping and stripping +const objectsArray = deduplicateWebhooks(strippedWebhooks); + +// Write optimized output await fs.writeFile(OBJECTS_PATH, JSON.stringify(objectsArray, null, 2)); -await fs.writeFile(OUTPUT_PATH, JSON.stringify(categorizedWebhooks, null, 2)); +await fs.writeFile(OUTPUT_PATH, JSON.stringify(strippedWebhooks, null, 2)); + +console.log(`Wrote ${OUTPUT_PATH} (${Object.keys(strippedWebhooks).length} events)`); +console.log(`Wrote ${OBJECTS_PATH} (${objectsArray.length} objects)`); + +// Optionally generate intermediate versions for size comparison +if (generateAll) { + // Helper to deep clone + function clone(obj: T): T { + return JSON.parse(JSON.stringify(obj)); + } + + // Build full webhooks (no drop, no strip) from fresh data + const fullWebhooks: Record> = {}; + for (const webhook of webhooks) { + const w = clone(webhook); + if (!w.action) w.action = "default"; + fullWebhooks[w.category] ||= {}; + fullWebhooks[w.category][w.action] = w; + } + + // Generate all version (no drop, no strip) + const allWebhooks = clone(fullWebhooks); + const allObjects = deduplicateWebhooks(allWebhooks); + await fs.writeFile(ALL_OUTPUT_PATH, JSON.stringify(allWebhooks, null, 2)); + await fs.writeFile(ALL_OBJECTS_PATH, JSON.stringify(allObjects, null, 2)); + console.log(`Wrote ${ALL_OUTPUT_PATH} (${Object.keys(allWebhooks).length} events)`); + console.log(`Wrote ${ALL_OBJECTS_PATH} (${allObjects.length} objects)`); + + // Generate drop-only version (drop events, no strip) + const dropWebhooks = clone(fullWebhooks); + for (const event of DROPPED_EVENTS) { + delete dropWebhooks[event]; + } + const dropObjects = deduplicateWebhooks(dropWebhooks); + await fs.writeFile(DROP_OUTPUT_PATH, JSON.stringify(dropWebhooks, null, 2)); + await fs.writeFile(DROP_OBJECTS_PATH, JSON.stringify(dropObjects, null, 2)); + console.log(`Wrote ${DROP_OUTPUT_PATH} (${Object.keys(dropWebhooks).length} events)`); + console.log(`Wrote ${DROP_OBJECTS_PATH} (${dropObjects.length} objects)`); + + // Generate strip-only version (strip fields, no drop) + const stripWebhooks = stripFields(clone(fullWebhooks)); + const stripObjects = deduplicateWebhooks(stripWebhooks); + await fs.writeFile(STRIP_OUTPUT_PATH, JSON.stringify(stripWebhooks, null, 2)); + await fs.writeFile(STRIP_OBJECTS_PATH, JSON.stringify(stripObjects, null, 2)); + console.log(`Wrote ${STRIP_OUTPUT_PATH} (${Object.keys(stripWebhooks).length} events)`); + console.log(`Wrote ${STRIP_OBJECTS_PATH} (${stripObjects.length} objects)`); +} diff --git a/languageservice/src/complete.expressions.test.ts b/languageservice/src/complete.expressions.test.ts index a8463ef..905d0de 100644 --- a/languageservice/src/complete.expressions.test.ts +++ b/languageservice/src/complete.expressions.test.ts @@ -299,7 +299,16 @@ jobs: "on: push\njobs:\n build:\n runs-on: ubuntu-latest\n environment:\n url: ${{ runner.| }}\n steps:\n - run: echo"; const result = await complete(...getPositionFromCursor(input), {contextProviderConfig}); - expect(result.map(x => x.label)).toEqual(["arch", "name", "os", "temp", "tool_cache"]); + expect(result.map(x => x.label)).toEqual([ + "arch", + "debug", + "environment", + "name", + "os", + "temp", + "tool_cache", + "workspace" + ]); }); describe("job if", () => { @@ -861,7 +870,7 @@ jobs: }); describe("strategy context", () => { - it("strategy is not suggested when outside of a matrix job", async () => { + it("strategy is suggested even when no strategy defined", async () => { const input = ` on: push @@ -875,7 +884,7 @@ jobs: const result = await complete(...getPositionFromCursor(input), {contextProviderConfig}); - expect(result.map(x => x.label)).not.toContain("strategy"); + expect(result.map(x => x.label)).toContain("strategy"); }); it("strategy is suggested within a matrix job", async () => { @@ -922,7 +931,7 @@ jobs: }); describe("matrix context", () => { - it("matrix is not suggested when outside of a matrix job", async () => { + it("matrix is suggested even when no strategy defined", async () => { const input = ` on: push @@ -936,7 +945,7 @@ jobs: const result = await complete(...getPositionFromCursor(input), {contextProviderConfig}); - expect(result.map(x => x.label)).not.toContain("strategy"); + expect(result.map(x => x.label)).toContain("matrix"); }); it("matrix is suggested within a matrix job", async () => { @@ -1123,10 +1132,12 @@ jobs: "github", "inputs", "job", + "matrix", "needs", "runner", "secrets", "steps", + "strategy", "vars", "contains", "endsWith", @@ -1268,7 +1279,7 @@ jobs: on: push jobs: a: - uses: ./reusable-workflow-with-outputs.yaml + uses: ./.github/workflows/reusable-workflow-with-outputs.yaml b: needs: [a] runs-on: ubuntu-latest diff --git a/languageservice/src/complete.multiline-if.test.ts b/languageservice/src/complete.multiline-if.test.ts new file mode 100644 index 0000000..45944b3 --- /dev/null +++ b/languageservice/src/complete.multiline-if.test.ts @@ -0,0 +1,169 @@ +import {complete} from "./complete"; +import {TextDocument} from "vscode-languageserver-textdocument"; +import {clearCache} from "./utils/workflow-cache"; +import {getPositionFromCursor} from "./test-utils/cursor-position"; + +beforeEach(() => { + clearCache(); +}); + +describe("Issue #81 - multi-line if expression completion", () => { + it("should complete in block scalar if with | (exact position)", async () => { + // Exact reproduction from issue - cursor after "github." in block scalar + const input = `on: push + +jobs: + build: + if: | + github. + runs-on: ubuntu-latest + steps: + - run: echo`; + + const doc = TextDocument.create("file:///test.yaml", "yaml", 1, input); + // Line 5 (0-indexed) = " github.", character 13 = after the dot + const pos = {line: 5, character: 13}; + + const result = await complete(doc, pos, {}); + + expect(result.length).toBeGreaterThan(0); + expect(result.map(x => x.label)).toContain("event"); + expect(result.map(x => x.label)).toContain("actor"); + }); + + it("should complete in block scalar if with > (exact position)", async () => { + const input = `on: push + +jobs: + build: + if: > + github. + runs-on: ubuntu-latest + steps: + - run: echo`; + + const doc = TextDocument.create("file:///test.yaml", "yaml", 1, input); + const pos = {line: 5, character: 13}; + + const result = await complete(doc, pos, {}); + + expect(result.length).toBeGreaterThan(0); + expect(result.map(x => x.label)).toContain("event"); + }); + + it("should complete in block scalar with multiple lines", async () => { + const input = `on: push +jobs: + build: + if: | + github.event_name == 'push' && + github.| + runs-on: ubuntu-latest + steps: + - run: echo`; + + // Skip 1 to skip the `|` block scalar indicator (same character as cursor marker) + const result = await complete(...getPositionFromCursor(input, 1), {}); + + expect(result.length).toBeGreaterThan(0); + expect(result.map(x => x.label)).toContain("event"); + }); + + it("should complete step if in block scalar", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: echo + if: | + github. +`; + + const doc = TextDocument.create("file:///test.yaml", "yaml", 1, input); + // Line 7 = " github.", character 15 = after the dot (8 spaces + 7 chars) + const pos = {line: 7, character: 15}; + + const result = await complete(doc, pos, {}); + + expect(result.length).toBeGreaterThan(0); + expect(result.map(x => x.label)).toContain("event"); + }); + + it("should complete in block scalar with ${{ expression markers", async () => { + // This case works because transform() skips lines with ${{ + // Note: Using explicit position because | appears in multiple places (block scalar, ||, cursor) + const input = `on: push +jobs: + build: + if: | + \${{ + github.ref == 'refs/heads/main' || + github. + runs-on: ubuntu-latest + steps: + - run: echo`; + + const doc = TextDocument.create("file:///test.yaml", "yaml", 1, input); + // Line 6 = " github." = 8 spaces + 7 chars = 15 chars, cursor after dot is at char 15 + const pos = {line: 6, character: 15}; + + const result = await complete(doc, pos, {}); + + expect(result.length).toBeGreaterThan(0); + expect(result.map(x => x.label)).toContain("ref"); + expect(result.map(x => x.label)).toContain("ref_name"); + }); +}); + +describe("Edge cases for getOffsetInContent", () => { + it("should complete in single-line if (not block scalar)", async () => { + const input = `on: push +jobs: + build: + if: github.| + runs-on: ubuntu-latest + steps: + - run: echo`; + + const result = await complete(...getPositionFromCursor(input), {}); + + expect(result.length).toBeGreaterThan(0); + expect(result.map(x => x.label)).toContain("event"); + }); + + it("should complete on third content line of block scalar", async () => { + const input = `on: push +jobs: + build: + if: | + github.event_name == 'push' && + github.ref == 'refs/heads/main' && + github.| + runs-on: ubuntu-latest + steps: + - run: echo`; + + const result = await complete(...getPositionFromCursor(input, 1), {}); + + expect(result.length).toBeGreaterThan(0); + expect(result.map(x => x.label)).toContain("event"); + }); + + it("should complete when block scalar has empty first line", async () => { + const input = `on: push +jobs: + build: + if: | + + github.| + runs-on: ubuntu-latest + steps: + - run: echo`; + + const result = await complete(...getPositionFromCursor(input, 1), {}); + + expect(result.length).toBeGreaterThan(0); + expect(result.map(x => x.label)).toContain("event"); + }); +}); diff --git a/languageservice/src/complete.reusable-workflows.test.ts b/languageservice/src/complete.reusable-workflows.test.ts index 79d1495..3fde8c0 100644 --- a/languageservice/src/complete.reusable-workflows.test.ts +++ b/languageservice/src/complete.reusable-workflows.test.ts @@ -21,7 +21,7 @@ on: push jobs: build: - uses: ./reusable-workflow-with-inputs.yaml + uses: ./.github/workflows/reusable-workflow-with-inputs.yaml with: | `; @@ -49,7 +49,7 @@ on: push jobs: build: - uses: ./reusable-workflow-with-inputs.yaml + uses: ./.github/workflows/reusable-workflow-with-inputs.yaml with: username: monalisa | @@ -74,7 +74,7 @@ on: push jobs: build: - uses: ./reusable-workflow-with-inputs.yaml + uses: ./.github/workflows/reusable-workflow-with-inputs.yaml secrets: | `; @@ -102,7 +102,7 @@ on: push jobs: build: - uses: ./reusable-workflow-with-inputs.yaml + uses: ./.github/workflows/reusable-workflow-with-inputs.yaml secrets: | `; const result = await complete(...getPositionFromCursor(input), {fileProvider: testFileProvider}); @@ -117,7 +117,7 @@ on: push jobs: build: - uses: ./reusable-workflow-with-inputs.yaml + uses: ./.github/workflows/reusable-workflow-with-inputs.yaml secrets: envPAT: "myPAT" | diff --git a/languageservice/src/complete.test.ts b/languageservice/src/complete.test.ts index f4ca821..cf45095 100644 --- a/languageservice/src/complete.test.ts +++ b/languageservice/src/complete.test.ts @@ -70,7 +70,7 @@ jobs: |`; const result = await complete(...getPositionFromCursor(input)); expect(result).not.toBeUndefined(); - expect(result.length).toEqual(20); + expect(result.length).toEqual(21); }); it("string definition completion in sequence", async () => { @@ -243,7 +243,7 @@ jobs: runs-|`; const result = await complete(...getPositionFromCursor(input)); expect(result).not.toBeUndefined(); - expect(result).toHaveLength(20); + expect(result).toHaveLength(21); }); it("job key with comment afterwards", async () => { @@ -254,7 +254,7 @@ jobs: #`; const result = await complete(...getPositionFromCursor(input)); expect(result).not.toBeUndefined(); - expect(result).toHaveLength(20); + expect(result).toHaveLength(21); }); it("job key with other values afterwards", async () => { @@ -266,7 +266,7 @@ jobs: concurrency: 'group-name'`; const result = await complete(...getPositionFromCursor(input)); expect(result).not.toBeUndefined(); - expect(result).toHaveLength(19); + expect(result).toHaveLength(20); }); it("step key without space after colon", async () => { @@ -335,7 +335,7 @@ jobs: - uses: actions/checkout@v2 `; const result = await complete(...getPositionFromCursor(input)); - expect(result).toHaveLength(16); + expect(result).toHaveLength(17); }); it("complete from behind a colon will replace it", async () => { @@ -348,7 +348,7 @@ jobs: - uses: actions/checkout@v2 `; const result = await complete(...getPositionFromCursor(input)); - expect(result).toHaveLength(16); + expect(result).toHaveLength(17); const textEdit = result[0].textEdit as TextEdit; expect(textEdit.range).toEqual({ start: {line: 5, character: 4}, diff --git a/languageservice/src/complete.ts b/languageservice/src/complete.ts index 943905b..1b636a6 100644 --- a/languageservice/src/complete.ts +++ b/languageservice/src/complete.ts @@ -5,6 +5,7 @@ import {ErrorPolicy} from "@actions/workflow-parser/model/convert"; import {OPEN_EXPRESSION} from "@actions/workflow-parser/templates/template-constants"; import {TemplateToken} from "@actions/workflow-parser/templates/tokens/index"; import {MappingToken} from "@actions/workflow-parser/templates/tokens/mapping-token"; +import {TokenRange} from "@actions/workflow-parser/templates/tokens/token-range"; import {TokenType} from "@actions/workflow-parser/templates/tokens/types"; import {File} from "@actions/workflow-parser/workflows/file"; import {FileProvider} from "@actions/workflow-parser/workflows/file-provider"; @@ -19,7 +20,6 @@ import {isPotentiallyExpression} from "./utils/expression-detection"; import {findToken} from "./utils/find-token"; import {guessIndentation} from "./utils/indentation-guesser"; import {mapRange} from "./utils/range"; -import {getRelCharOffset} from "./utils/rel-char-pos"; import {isPlaceholder, transform} from "./utils/transform"; import {fetchOrConvertWorkflowTemplate, fetchOrParseWorkflow} from "./utils/workflow-cache"; import {Value, ValueProviderConfig} from "./value-providers/config"; @@ -238,12 +238,12 @@ function getExpressionCompletionItems( currentInput = stringToken.source || stringToken.value; } - const relCharOffset = getRelCharOffset(token.range, currentInput, pos); - const expressionInput = (getExpressionInput(currentInput, relCharOffset) || "").trim(); + const cursorOffset = getOffsetInContent(token.range, currentInput, pos); + const expressionInput = (getExpressionInput(currentInput, cursorOffset) || "").trim(); try { return completeExpression(expressionInput, context, [], validatorFunctions).map(item => - mapExpressionCompletionItem(item, currentInput[relCharOffset]) + mapExpressionCompletionItem(item, currentInput[cursorOffset]) ); } catch (e) { error(`Error while completing expression: '${(e as Error)?.message || ""}'`); @@ -274,3 +274,50 @@ function mapExpressionCompletionItem(item: ExpressionCompletionItem, charAfterPo kind: item.function ? CompletionItemKind.Function : CompletionItemKind.Variable }; } + +/** + * Converts a document position to an offset within the token's content string. + */ +function getOffsetInContent(tokenRange: TokenRange, currentInput: string, pos: Position): number { + const range = mapRange(tokenRange); + + if (range.start.line === range.end.line) { + // Single-line example: + // if: github.ref == 'main' + // ^8 ^15 (cursor) + // currentInput = "github.ref == 'main'" + // offset = 15 - 8 = 7 + return pos.character - range.start.character; + } + + // Multi-line example: + // if: | <- line 3 (range.start.line) + // first line <- line 4, content line 0 + // second line <- line 5, content line 1 + // github. <- line 6, content line 2, cursor at index 11 + // ^11 (cursor) + // + // currentInput = " first line\n second line\n github." + // ^0 ^15 ^32 ^43 + + // Line index within content. + // From the example: + // lineIndexWithinContent = pos.line - range.start.line - 1 + // = 6 - 3 - 1 = 2 + const lineIndexWithinContent = pos.line - range.start.line - 1; + + // Length of content before current line. + // From the example: + // lengthOfContentBeforeCurrentLine => 14 + 1 = 15 (after first iteration) + // => 31 + 1 = 32 (after second iteration) + let lengthOfContentBeforeCurrentLine = 0; + for (let i = 0; i < lineIndexWithinContent; i++) { + lengthOfContentBeforeCurrentLine = currentInput.indexOf("\n", lengthOfContentBeforeCurrentLine) + 1; + } + + // Final offset within content. + // From the example: + // finalOffset = lengthOfContentBeforeCurrentLine + pos.character + // = 32 + 11 = 43 + return lengthOfContentBeforeCurrentLine + pos.character; +} diff --git a/languageservice/src/context-providers/default.test.ts b/languageservice/src/context-providers/default.test.ts new file mode 100644 index 0000000..7557837 --- /dev/null +++ b/languageservice/src/context-providers/default.test.ts @@ -0,0 +1,97 @@ +import {DescriptionDictionary} from "@actions/expressions"; +import {WorkflowContext} from "../context/workflow-context"; +import {getContext, Mode} from "./default"; + +describe("getContext", () => { + const emptyWorkflowContext: WorkflowContext = { + uri: "test.yaml", + template: undefined + }; + + describe("when no contextProviderConfig is provided", () => { + it("should mark secrets context as incomplete", async () => { + const result = await getContext(["secrets"], undefined, emptyWorkflowContext, Mode.Validation); + + const secretsContext = result.get("secrets") as DescriptionDictionary; + expect(secretsContext).toBeDefined(); + expect(secretsContext.complete).toBe(false); + }); + + it("should mark vars context as incomplete", async () => { + const result = await getContext(["vars"], undefined, emptyWorkflowContext, Mode.Validation); + + const varsContext = result.get("vars") as DescriptionDictionary; + expect(varsContext).toBeDefined(); + expect(varsContext.complete).toBe(false); + }); + + it("should not mark other contexts as incomplete", async () => { + const result = await getContext(["env", "github"], undefined, emptyWorkflowContext, Mode.Validation); + + const envContext = result.get("env") as DescriptionDictionary; + const githubContext = result.get("github") as DescriptionDictionary; + + // These contexts are derived from the workflow file, so they can be complete + expect(envContext).toBeDefined(); + expect(envContext.complete).toBe(true); + expect(githubContext).toBeDefined(); + expect(githubContext.complete).toBe(true); + }); + }); + + describe("when contextProviderConfig returns a value", () => { + it("should use the provided context for secrets", async () => { + const providedContext = new DescriptionDictionary(); + providedContext.complete = true; // Provider fetched from API, so it's complete + + const config = { + getContext: () => Promise.resolve(providedContext) + }; + + const result = await getContext(["secrets"], config, emptyWorkflowContext, Mode.Validation); + + const secretsContext = result.get("secrets"); + expect(secretsContext).toBe(providedContext); + expect((secretsContext as DescriptionDictionary).complete).toBe(true); + }); + + it("should use the provided context for vars", async () => { + const providedContext = new DescriptionDictionary(); + providedContext.complete = true; + + const config = { + getContext: () => Promise.resolve(providedContext) + }; + + const result = await getContext(["vars"], config, emptyWorkflowContext, Mode.Validation); + + const varsContext = result.get("vars"); + expect(varsContext).toBe(providedContext); + expect((varsContext as DescriptionDictionary).complete).toBe(true); + }); + }); + + describe("when contextProviderConfig returns undefined", () => { + it("should mark secrets as incomplete", async () => { + const config = { + getContext: () => Promise.resolve(undefined) + }; + + const result = await getContext(["secrets"], config, emptyWorkflowContext, Mode.Validation); + + const secretsContext = result.get("secrets") as DescriptionDictionary; + expect(secretsContext.complete).toBe(false); + }); + + it("should mark vars as incomplete", async () => { + const config = { + getContext: () => Promise.resolve(undefined) + }; + + const result = await getContext(["vars"], config, emptyWorkflowContext, Mode.Validation); + + const varsContext = result.get("vars") as DescriptionDictionary; + expect(varsContext.complete).toBe(false); + }); + }); +}); diff --git a/languageservice/src/context-providers/default.ts b/languageservice/src/context-providers/default.ts index 7c2ddf3..1141b22 100644 --- a/languageservice/src/context-providers/default.ts +++ b/languageservice/src/context-providers/default.ts @@ -32,15 +32,24 @@ export async function getContext( ): Promise { const context = new DescriptionDictionary(); - const filteredNames = filterContextNames(names, workflowContext); - for (const contextName of filteredNames) { + // All context names are valid - strategy and matrix are always available + // (with default values when no strategy block is defined) + for (const contextName of names) { let value = getDefaultContext(contextName, workflowContext, mode) || new DescriptionDictionary(); if (value.kind === Kind.Null) { context.add(contextName, value); continue; } - value = (await config?.getContext(contextName, value, workflowContext, mode)) || value; + const remoteValue = await config?.getContext(contextName, value, workflowContext, mode); + if (remoteValue) { + value = remoteValue; + } else if (contextName === "secrets" || contextName === "vars") { + // Without a context provider to fetch remote secrets/vars, we can't know + // what values exist, so mark the context as incomplete to avoid false + // "Context access might be invalid" warnings + value.complete = false; + } context.add(contextName, value, getDescription(RootContext, contextName)); } @@ -74,11 +83,14 @@ function getDefaultContext(name: string, workflowContext: WorkflowContext, mode: case "runner": return objectToDictionary({ - os: "Linux", arch: "X64", + debug: "1", + environment: "github-hosted", name: "GitHub Actions 2", + os: "Linux", + temp: "/home/runner/work/_temp", tool_cache: "/opt/hostedtoolcache", - temp: "/home/runner/work/_temp" + workspace: "/home/runner/work/repo" }); case "secrets": @@ -103,18 +115,3 @@ function objectToDictionary(object: {[key: string]: string}): DescriptionDiction return dictionary; } - -function filterContextNames(contextNames: string[], workflowContext: WorkflowContext): string[] { - return contextNames.filter(name => { - switch (name) { - case "matrix": - case "strategy": - return hasStrategy(workflowContext); - } - return true; - }); -} - -function hasStrategy(workflowContext: WorkflowContext): boolean { - return workflowContext.job?.strategy !== undefined || workflowContext.reusableWorkflowJob?.strategy !== undefined; -} diff --git a/languageservice/src/context-providers/descriptions.json b/languageservice/src/context-providers/descriptions.json index 7e6fb31..5baa631 100644 --- a/languageservice/src/context-providers/descriptions.json +++ b/languageservice/src/context-providers/descriptions.json @@ -239,7 +239,13 @@ "description": "The path to the directory containing preinstalled tools for GitHub-hosted runners. For more information, see \"[About GitHub-hosted runners](https://docs.github.com/actions/reference/specifications-for-github-hosted-runners/#supported-software).\"" }, "debug": { - "description": "This is set only if [debug logging](https://docs.github.com/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging) is enabled, and always has the value of `1`. It can be useful as an indicator to enable additional debugging or verbose logging in your own job steps." + "description": "This is set only if [`ACTIONS_STEP_DEBUG`](https://docs.github.com/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging) is enabled, and always has the value of `\"1\"`. It can be useful as an indicator to enable additional debugging or verbose logging in your own job steps." + }, + "environment": { + "description": "The environment of the runner executing the job. Possible values are `github-hosted` for GitHub-hosted runners, or `self-hosted` for self-hosted runners." + }, + "workspace": { + "description": "The runner-specific working directory path for the job." } }, "strategy": { diff --git a/languageservice/src/context-providers/descriptions.ts b/languageservice/src/context-providers/descriptions.ts index 4590927..4557ce5 100644 --- a/languageservice/src/context-providers/descriptions.ts +++ b/languageservice/src/context-providers/descriptions.ts @@ -1,4 +1,4 @@ -import descriptions from "./descriptions.json"; +import descriptions from "./descriptions.min.json"; export const RootContext = "root"; const FunctionContext = "functions"; diff --git a/languageservice/src/context-providers/events/eventPayloads.test.ts b/languageservice/src/context-providers/events/eventPayloads.test.ts new file mode 100644 index 0000000..f9605ec --- /dev/null +++ b/languageservice/src/context-providers/events/eventPayloads.test.ts @@ -0,0 +1,102 @@ +import {DescriptionDictionary} from "@actions/expressions"; +import {getEventPayload, getSupportedEventTypes} from "./eventPayloads"; + +describe("eventPayloads", () => { + describe("getSupportedEventTypes", () => { + it("returns action types for push event", () => { + const types = getSupportedEventTypes("push"); + expect(types).toContain("default"); + }); + + it("returns action types for issues event", () => { + const types = getSupportedEventTypes("issues"); + expect(types.length).toBeGreaterThan(1); + expect(types).toContain("opened"); + expect(types).toContain("closed"); + }); + }); + + describe("getEventPayload", () => { + it("returns payload for push event", () => { + const payload = getEventPayload("push", "default"); + expect(payload).toBeDefined(); + + // Verify common fields exist + expect(payload?.get("ref")).toBeDefined(); + expect(payload?.get("repository")).toBeDefined(); + expect(payload?.get("sender")).toBeDefined(); + }); + + it("returns payload for issues event", () => { + const payload = getEventPayload("issues", "opened"); + expect(payload).toBeDefined(); + + expect(payload?.get("action")).toBeDefined(); + expect(payload?.get("issue")).toBeDefined(); + expect(payload?.get("repository")).toBeDefined(); + }); + + it("preserves descriptions for hover documentation", () => { + // This test ensures bodyParameters[].description is not stripped + // during JSON optimization. The description field is used for hover + // documentation in the workflow editor. + const payload = getEventPayload("push", "default"); + expect(payload).toBeDefined(); + + // Get the description for a well-known field + // repository should have a description like "A repository on GitHub" + const repoDescription = payload?.getDescription("repository"); + expect(repoDescription).toBeDefined(); + expect(repoDescription?.length).toBeGreaterThan(0); + + // sender should have a description + const senderDescription = payload?.getDescription("sender"); + expect(senderDescription).toBeDefined(); + expect(senderDescription?.length).toBeGreaterThan(0); + }); + + it("preserves childParamsGroups for nested property access", () => { + // This test ensures bodyParameters[].childParamsGroups is not stripped + // during JSON optimization. childParamsGroups defines nested properties + // used for autocompletion like github.event.repository.owner.login + const payload = getEventPayload("push", "default"); + expect(payload).toBeDefined(); + + // repository has nested properties like owner, license, etc. + const repository = payload?.get("repository") as DescriptionDictionary | undefined; + expect(repository).toBeDefined(); + + // repository.owner should exist (nested via childParamsGroups) + const owner = repository?.get("owner") as DescriptionDictionary | undefined; + expect(owner).toBeDefined(); + + // repository.owner.login should exist (deeply nested) + const login = owner?.get("login"); + expect(login).toBeDefined(); + }); + + it("preserves name fields for property identification", () => { + // This test ensures bodyParameters[].name is not stripped + // during JSON optimization. The name field identifies each property. + const payload = getEventPayload("issues", "opened"); + expect(payload).toBeDefined(); + + // Verify well-known property names exist + expect(payload?.get("action")).toBeDefined(); + expect(payload?.get("issue")).toBeDefined(); + expect(payload?.get("repository")).toBeDefined(); + expect(payload?.get("sender")).toBeDefined(); + + // Verify nested property names work + const issue = payload?.get("issue") as DescriptionDictionary | undefined; + expect(issue?.get("title")).toBeDefined(); + expect(issue?.get("number")).toBeDefined(); + expect(issue?.get("user")).toBeDefined(); + }); + + it("returns undefined for unknown event", () => { + const payload = getEventPayload("not_a_real_event", "default"); + expect(payload).toBeUndefined(); + }); + }); +}); diff --git a/languageservice/src/context-providers/events/eventPayloads.ts b/languageservice/src/context-providers/events/eventPayloads.ts index 6da41d4..c86796f 100644 --- a/languageservice/src/context-providers/events/eventPayloads.ts +++ b/languageservice/src/context-providers/events/eventPayloads.ts @@ -1,10 +1,10 @@ import {data, DescriptionDictionary} from "@actions/expressions"; -import webhookObjects from "./objects.json"; -import webhooks from "./webhooks.json"; +import webhookObjects from "./objects.min.json"; +import webhooks from "./webhooks.min.json"; -import schedule from "./schedule.json"; -import workflow_call from "./workflow_call.json"; +import schedule from "./schedule.min.json"; +import workflow_call from "./workflow_call.min.json"; const customEventPayloads: {[name: string]: unknown} = { schedule, diff --git a/languageservice/src/context-providers/events/objects.json b/languageservice/src/context-providers/events/objects.json index 5d2d337..8275437 100644 --- a/languageservice/src/context-providers/events/objects.json +++ b/languageservice/src/context-providers/events/objects.json @@ -1,2333 +1,1477 @@ [ { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "created" - ] + "name": "action" }, { - "type": "object", "name": "enterprise", - "in": "body", "description": "An enterprise on GitHub.", "childParamsGroups": [ { - "type": "string or null", "name": "description", "description": "A short description of the enterprise." }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string or null", "name": "website_url", "description": "The enterprise's website URL." }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the enterprise", - "isRequired": true + "description": "Unique identifier of the enterprise" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "name", - "description": "The name of the enterprise.", - "isRequired": true + "description": "The name of the enterprise." }, { - "type": "string", "name": "slug", - "description": "The slug url identifier for the enterprise.", - "isRequired": true + "description": "The slug url identifier for the enterprise." }, { - "type": "string or null", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string or null", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" } ] }, { - "type": "object", "name": "installation", - "in": "body", "description": "The GitHub App installation. This property is included when the event is configured for and sent to a GitHub App.", "childParamsGroups": [ { - "type": "integer", "name": "id", - "description": "The ID of the installation.", - "isRequired": true + "description": "The ID of the installation." }, { - "type": "string", "name": "node_id", - "description": "The global node ID of the installation.", - "isRequired": true + "description": "The global node ID of the installation." } ] }, { - "type": "object", "name": "organization", - "in": "body", "description": "A GitHub organization.", "childParamsGroups": [ { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "members_url", - "isRequired": true + "name": "members_url" }, { - "type": "string", - "name": "public_members_url", - "isRequired": true + "name": "public_members_url" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" } ] }, { - "type": "object", "name": "repository", - "in": "body", "description": "A repository on GitHub.", - "isRequired": true, "childParamsGroups": [ { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "name", - "description": "The name of the repository.", - "isRequired": true + "description": "The name of the repository." }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "object or null", "name": "license", "description": "License Simple", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" }, { - "type": "string or null", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string or null", - "name": "spdx_id", - "isRequired": true + "name": "spdx_id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "html_url" } ] }, { - "type": "object or null", "name": "organization", "description": "A GitHub user.", "childParamsGroups": [ { - "type": "string or null", "name": "name" }, { - "type": "string or null", "name": "email" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", "name": "starred_at" } ] }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", "name": "triage" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "maintain" } ] }, { - "type": "object", "name": "owner", "description": "A GitHub user.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "name" }, { - "type": "string or null", "name": "email" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", "name": "starred_at" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true, - "default": false + "description": "Whether the repository is private or public." }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "string", - "name": "merges_url", - "isRequired": true + "name": "merges_url" }, { - "type": "string", - "name": "milestones_url", - "isRequired": true + "name": "milestones_url" }, { - "type": "string", - "name": "notifications_url", - "isRequired": true + "name": "notifications_url" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string or null", - "name": "mirror_url", - "isRequired": true + "name": "mirror_url" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "integer", "name": "size", - "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", - "isRequired": true + "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0." }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "integer", - "name": "open_issues_count", - "isRequired": true + "name": "open_issues_count" }, { - "type": "boolean", "name": "is_template", - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false + "description": "Whether this repository acts as a template that can be used to generate new repositories." }, { - "type": "array of strings", "name": "topics" }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_discussions", - "description": "Whether discussions are enabled.", - "default": false + "description": "Whether discussions are enabled." }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "boolean", "name": "disabled", - "description": "Returns whether or not this repository disabled.", - "isRequired": true + "description": "Returns whether or not this repository disabled." }, { - "type": "string", "name": "visibility", - "description": "The repository visibility: public, private, or internal.", - "default": "public" + "description": "The repository visibility: public, private, or internal." }, { - "type": "string or null", - "name": "pushed_at", - "isRequired": true + "name": "pushed_at" }, { - "type": "string or null", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string or null", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "object or null", "name": "template_repository", "childParamsGroups": [ { - "type": "integer", "name": "id" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "full_name" }, { - "type": "object", "name": "owner", "childParamsGroups": [ { - "type": "string", "name": "login" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "url" }, { - "type": "string", "name": "html_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "type" }, { - "type": "boolean", "name": "site_admin" } ] }, { - "type": "boolean", "name": "private" }, { - "type": "string", "name": "html_url" }, { - "type": "string", "name": "description" }, { - "type": "boolean", "name": "fork" }, { - "type": "string", "name": "url" }, { - "type": "string", "name": "archive_url" }, { - "type": "string", "name": "assignees_url" }, { - "type": "string", "name": "blobs_url" }, { - "type": "string", "name": "branches_url" }, { - "type": "string", "name": "collaborators_url" }, { - "type": "string", "name": "comments_url" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "compare_url" }, { - "type": "string", "name": "contents_url" }, { - "type": "string", "name": "contributors_url" }, { - "type": "string", "name": "deployments_url" }, { - "type": "string", "name": "downloads_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "forks_url" }, { - "type": "string", "name": "git_commits_url" }, { - "type": "string", "name": "git_refs_url" }, { - "type": "string", "name": "git_tags_url" }, { - "type": "string", "name": "git_url" }, { - "type": "string", "name": "issue_comment_url" }, { - "type": "string", "name": "issue_events_url" }, { - "type": "string", "name": "issues_url" }, { - "type": "string", "name": "keys_url" }, { - "type": "string", "name": "labels_url" }, { - "type": "string", "name": "languages_url" }, { - "type": "string", "name": "merges_url" }, { - "type": "string", "name": "milestones_url" }, { - "type": "string", "name": "notifications_url" }, { - "type": "string", "name": "pulls_url" }, { - "type": "string", "name": "releases_url" }, { - "type": "string", "name": "ssh_url" }, { - "type": "string", "name": "stargazers_url" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "subscribers_url" }, { - "type": "string", "name": "subscription_url" }, { - "type": "string", "name": "tags_url" }, { - "type": "string", "name": "teams_url" }, { - "type": "string", "name": "trees_url" }, { - "type": "string", "name": "clone_url" }, { - "type": "string", "name": "mirror_url" }, { - "type": "string", "name": "hooks_url" }, { - "type": "string", "name": "svn_url" }, { - "type": "string", "name": "homepage" }, { - "type": "string", "name": "language" }, { - "type": "integer", "name": "forks_count" }, { - "type": "integer", "name": "stargazers_count" }, { - "type": "integer", "name": "watchers_count" }, { - "type": "integer", "name": "size" }, { - "type": "string", "name": "default_branch" }, { - "type": "integer", "name": "open_issues_count" }, { - "type": "boolean", "name": "is_template" }, { - "type": "array of strings", "name": "topics" }, { - "type": "boolean", "name": "has_issues" }, { - "type": "boolean", "name": "has_projects" }, { - "type": "boolean", "name": "has_wiki" }, { - "type": "boolean", "name": "has_pages" }, { - "type": "boolean", "name": "has_downloads" }, { - "type": "boolean", "name": "archived" }, { - "type": "boolean", "name": "disabled" }, { - "type": "string", "name": "visibility" }, { - "type": "string", "name": "pushed_at" }, { - "type": "string", "name": "created_at" }, { - "type": "string", "name": "updated_at" }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", "name": "push" }, { - "type": "boolean", "name": "triage" }, { - "type": "boolean", "name": "pull" } ] }, { - "type": "boolean", "name": "allow_rebase_merge" }, { - "type": "string", "name": "temp_clone_token" }, { - "type": "boolean", "name": "allow_squash_merge" }, { - "type": "boolean", "name": "allow_auto_merge" }, { - "type": "boolean", "name": "delete_branch_on_merge" }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default" }, { - "type": "string", "name": "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" - ] + "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)." }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "string", "name": "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" - ] + "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)." }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "boolean", "name": "allow_merge_commit" }, { - "type": "integer", "name": "subscribers_count" }, { - "type": "integer", "name": "network_count" } ] }, { - "type": "string", "name": "temp_clone_token" }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false + "description": "Whether to allow Auto-merge to be used on pull requests." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "boolean", "name": "allow_update_branch", - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false + "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." }, { - "type": "boolean", "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "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": "string", "name": "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" - ] + "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)." }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "string", "name": "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" - ] + "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)." }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow forking this repo" }, { - "type": "boolean", "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits", - "default": false + "description": "Whether to require contributors to sign off on web-based commits" }, { - "type": "integer", "name": "subscribers_count" }, { - "type": "integer", "name": "network_count" }, { - "type": "integer", - "name": "open_issues", - "isRequired": true + "name": "open_issues" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "string", "name": "master_branch" }, { - "type": "string", "name": "starred_at" }, { - "type": "boolean", "name": "anonymous_access_enabled", "description": "Whether anonymous git access is enabled for this repository" } ] }, { - "type": "object", "name": "rule", - "in": "body", "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.", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", - "name": "admin_enforced", - "isRequired": true + "name": "admin_enforced" }, { - "type": "string", - "name": "allow_deletions_enforcement_level", - "isRequired": true, - "enum": [ - "off", - "non_admins", - "everyone" - ] + "name": "allow_deletions_enforcement_level" }, { - "type": "string", - "name": "allow_force_pushes_enforcement_level", - "isRequired": true, - "enum": [ - "off", - "non_admins", - "everyone" - ] + "name": "allow_force_pushes_enforcement_level" }, { - "type": "array of strings", - "name": "authorized_actor_names", - "isRequired": true + "name": "authorized_actor_names" }, { - "type": "boolean", - "name": "authorized_actors_only", - "isRequired": true + "name": "authorized_actors_only" }, { - "type": "boolean", - "name": "authorized_dismissal_actors_only", - "isRequired": true + "name": "authorized_dismissal_actors_only" }, { - "type": "boolean", "name": "create_protected" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "boolean", - "name": "dismiss_stale_reviews_on_push", - "isRequired": true + "name": "dismiss_stale_reviews_on_push" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "boolean", - "name": "ignore_approvals_from_contributors", - "isRequired": true + "name": "ignore_approvals_from_contributors" }, { - "type": "string", - "name": "linear_history_requirement_enforcement_level", - "isRequired": true, - "enum": [ - "off", - "non_admins", - "everyone" - ] + "name": "linear_history_requirement_enforcement_level" }, { - "type": "string", - "name": "merge_queue_enforcement_level", - "isRequired": true, - "enum": [ - "off", - "non_admins", - "everyone" - ] + "name": "merge_queue_enforcement_level" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" }, { - "type": "string", - "name": "pull_request_reviews_enforcement_level", - "isRequired": true, - "enum": [ - "off", - "non_admins", - "everyone" - ] + "name": "pull_request_reviews_enforcement_level" }, { - "type": "integer", - "name": "repository_id", - "isRequired": true + "name": "repository_id" }, { - "type": "boolean", - "name": "require_code_owner_review", - "isRequired": true + "name": "require_code_owner_review" }, { - "type": "integer", - "name": "required_approving_review_count", - "isRequired": true + "name": "required_approving_review_count" }, { - "type": "string", - "name": "required_conversation_resolution_level", - "isRequired": true, - "enum": [ - "off", - "non_admins", - "everyone" - ] + "name": "required_conversation_resolution_level" }, { - "type": "string", - "name": "required_deployments_enforcement_level", - "isRequired": true, - "enum": [ - "off", - "non_admins", - "everyone" - ] + "name": "required_deployments_enforcement_level" }, { - "type": "array of strings", - "name": "required_status_checks", - "isRequired": true + "name": "required_status_checks" }, { - "type": "string", - "name": "required_status_checks_enforcement_level", - "isRequired": true, - "enum": [ - "off", - "non_admins", - "everyone" - ] + "name": "required_status_checks_enforcement_level" }, { - "type": "string", - "name": "signature_requirement_enforcement_level", - "isRequired": true, - "enum": [ - "off", - "non_admins", - "everyone" - ] + "name": "signature_requirement_enforcement_level" }, { - "type": "boolean", - "name": "strict_required_status_checks_policy", - "isRequired": true + "name": "strict_required_status_checks_policy" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" } ] }, { - "type": "object", "name": "sender", - "in": "body", "description": "A GitHub user.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "name" }, { - "type": "string or null", "name": "email" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", "name": "starred_at" } ] }, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "deleted" - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "edited" - ] - }, - { - "type": "object", "name": "check_run", - "in": "body", "description": "A check performed on the code of a given code change", - "isRequired": true, "childParamsGroups": [ { - "type": "object or null", "name": "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.", - "isRequired": true, "childParamsGroups": [ { - "type": "integer", "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true + "description": "Unique identifier of the GitHub app" }, { - "type": "string", "name": "slug", "description": "The slug name of the GitHub app" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "object or null", "name": "owner", "description": "A GitHub user.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "name" }, { - "type": "string or null", "name": "email" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", "name": "starred_at" } ] }, { - "type": "string", "name": "name", - "description": "The name of the GitHub app", - "isRequired": true + "description": "The name of the GitHub app" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string", - "name": "external_url", - "isRequired": true + "name": "external_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "object", "name": "permissions", "description": "The set of permissions for the GitHub app", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "issues" }, { - "type": "string", "name": "checks" }, { - "type": "string", "name": "metadata" }, { - "type": "string", "name": "contents" }, { - "type": "string", "name": "deployments" } ] }, { - "type": "array of strings", "name": "events", - "description": "The list of events for the GitHub app", - "isRequired": true + "description": "The list of events for the GitHub app" }, { - "type": "integer", "name": "installations_count", "description": "The number of installations associated with the GitHub app" }, { - "type": "string", "name": "client_id" }, { - "type": "string", "name": "client_secret" }, { - "type": "string or null", "name": "webhook_secret" }, { - "type": "string", "name": "pem" } ] }, { - "type": "object", "name": "check_suite", "description": "A suite of checks performed on the code of a given code change", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "after" }, { - "type": "object", "name": "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.", "childParamsGroups": [ { - "type": "integer", "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true + "description": "Unique identifier of the GitHub app" }, { - "type": "string", "name": "slug", "description": "The slug name of the GitHub app" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "object or null", "name": "owner", "description": "A GitHub user.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "name" }, { - "type": "string or null", "name": "email" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", "name": "starred_at" } ] }, { - "type": "string", "name": "name", - "description": "The name of the GitHub app", - "isRequired": true + "description": "The name of the GitHub app" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string", - "name": "external_url", - "isRequired": true + "name": "external_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "object", "name": "permissions", "description": "The set of permissions for the GitHub app", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "issues" }, { - "type": "string", "name": "checks" }, { - "type": "string", "name": "metadata" }, { - "type": "string", "name": "contents" }, { - "type": "string", "name": "deployments" } ] }, { - "type": "array of strings", "name": "events", - "description": "The list of events for the GitHub app", - "isRequired": true + "description": "The list of events for the GitHub app" }, { - "type": "integer", "name": "installations_count", "description": "The number of installations associated with the GitHub app" }, { - "type": "string", "name": "client_id" }, { - "type": "string", "name": "client_secret" }, { - "type": "string or null", "name": "webhook_secret" }, { - "type": "string", "name": "pem" } ] }, { - "type": "string or null", "name": "before" }, { - "type": "string or null", - "name": "conclusion", - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "skipped", - "timed_out", - "action_required", - "stale", - "startup_failure" - ] + "name": "conclusion" }, { - "type": "string", "name": "created_at" }, { - "type": "string or null", "name": "head_branch" }, { - "type": "string", "name": "head_sha", "description": "The SHA of the head commit that is being checked." }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "node_id" }, { - "type": "array of objects", "name": "pull_requests", "childParamsGroups": [ { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "integer", - "name": "number", - "isRequired": true + "name": "number" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "object", "name": "head", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object", "name": "repo", - "isRequired": true, "childParamsGroups": [ { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" } ] } ] }, { - "type": "object", "name": "base", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object", "name": "repo", - "isRequired": true, "childParamsGroups": [ { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" } ] } @@ -2336,620 +1480,410 @@ ] }, { - "type": "object", "name": "repository", "description": "Minimal Repository", "childParamsGroups": [ { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "object", "name": "owner", "description": "A GitHub user.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "name" }, { - "type": "string or null", "name": "email" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", "name": "starred_at" } ] }, { - "type": "boolean", - "name": "private", - "isRequired": true + "name": "private" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", "name": "git_url" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "string", - "name": "merges_url", - "isRequired": true + "name": "merges_url" }, { - "type": "string", - "name": "milestones_url", - "isRequired": true + "name": "milestones_url" }, { - "type": "string", - "name": "notifications_url", - "isRequired": true + "name": "notifications_url" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string", "name": "ssh_url" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", "name": "clone_url" }, { - "type": "string or null", "name": "mirror_url" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", "name": "svn_url" }, { - "type": "string or null", "name": "homepage" }, { - "type": "string or null", "name": "language" }, { - "type": "integer", "name": "forks_count" }, { - "type": "integer", "name": "stargazers_count" }, { - "type": "integer", "name": "watchers_count" }, { - "type": "integer", "name": "size", "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0." }, { - "type": "string", "name": "default_branch" }, { - "type": "integer", "name": "open_issues_count" }, { - "type": "boolean", "name": "is_template" }, { - "type": "array of strings", "name": "topics" }, { - "type": "boolean", "name": "has_issues" }, { - "type": "boolean", "name": "has_projects" }, { - "type": "boolean", "name": "has_wiki" }, { - "type": "boolean", "name": "has_pages" }, { - "type": "boolean", "name": "has_downloads" }, { - "type": "boolean", "name": "has_discussions" }, { - "type": "boolean", "name": "archived" }, { - "type": "boolean", "name": "disabled" }, { - "type": "string", "name": "visibility" }, { - "type": "string or null", "name": "pushed_at" }, { - "type": "string or null", "name": "created_at" }, { - "type": "string or null", "name": "updated_at" }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", "name": "push" }, { - "type": "boolean", "name": "triage" }, { - "type": "boolean", "name": "pull" } ] }, { - "type": "string", "name": "role_name" }, { - "type": "string", "name": "temp_clone_token" }, { - "type": "boolean", "name": "delete_branch_on_merge" }, { - "type": "integer", "name": "subscribers_count" }, { - "type": "integer", "name": "network_count" }, { - "type": "object", "name": "code_of_conduct", "description": "Code Of Conduct", "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", "name": "body" }, { - "type": "string or null", - "name": "html_url", - "isRequired": true + "name": "html_url" } ] }, { - "type": "object or null", "name": "license", "childParamsGroups": [ { - "type": "string", "name": "key" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "spdx_id" }, { - "type": "string", "name": "url" }, { - "type": "string", "name": "node_id" } ] }, { - "type": "integer", "name": "forks" }, { - "type": "integer", "name": "open_issues" }, { - "type": "integer", "name": "watchers" }, { - "type": "boolean", "name": "allow_forking" }, { - "type": "boolean", "name": "web_commit_signoff_required" }, { - "type": "object or null", "name": "security_and_analysis", "childParamsGroups": [ { - "type": "object", "name": "advanced_security", "childParamsGroups": [ { - "type": "string", - "name": "status", - "enum": [ - "enabled", - "disabled" - ] + "name": "status" } ] }, { - "type": "object", "name": "secret_scanning", "childParamsGroups": [ { - "type": "string", - "name": "status", - "enum": [ - "enabled", - "disabled" - ] + "name": "status" } ] }, { - "type": "object", "name": "secret_scanning_push_protection", "childParamsGroups": [ { - "type": "string", - "name": "status", - "enum": [ - "enabled", - "disabled" - ] + "name": "status" } ] } @@ -2958,336 +1892,212 @@ ] }, { - "type": "string", - "name": "status", - "enum": [ - "queued", - "in_progress", - "completed", - "pending", - "waiting" - ] + "name": "status" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" } ] }, { - "type": "string or null", - "name": "completed_at", - "isRequired": true + "name": "completed_at" }, { - "type": "string or null", - "name": "conclusion", - "isRequired": true, - "enum": [ - "waiting", - "pending", - "startup_failure", - "stale", - "success", - "failure", - "neutral", - "cancelled", - "skipped", - "timed_out", - "action_required" - ] + "name": "conclusion" }, { - "type": "object", "name": "deployment", "description": "A deployment created as the result of an Actions check run from a workflow that references an environment", "childParamsGroups": [ { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the deployment", - "isRequired": true + "description": "Unique identifier of the deployment" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "task", - "description": "Parameter to specify a task to execute", - "isRequired": true + "description": "Parameter to specify a task to execute" }, { - "type": "string", "name": "original_environment" }, { - "type": "string", "name": "environment", - "description": "Name for the target deployment environment.", - "isRequired": true + "description": "Name for the target deployment environment." }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "repository_url", - "isRequired": true + "name": "repository_url" }, { - "type": "boolean", "name": "transient_environment", "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false." }, { - "type": "boolean", "name": "production_environment", "description": "Specifies if the given environment is one that end-users directly interact with. Default: false." }, { - "type": "object or null", "name": "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.", "childParamsGroups": [ { - "type": "integer", "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true + "description": "Unique identifier of the GitHub app" }, { - "type": "string", "name": "slug", "description": "The slug name of the GitHub app" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "object or null", "name": "owner", "description": "A GitHub user.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "name" }, { - "type": "string or null", "name": "email" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", "name": "starred_at" } ] }, { - "type": "string", "name": "name", - "description": "The name of the GitHub app", - "isRequired": true + "description": "The name of the GitHub app" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string", - "name": "external_url", - "isRequired": true + "name": "external_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "object", "name": "permissions", "description": "The set of permissions for the GitHub app", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "issues" }, { - "type": "string", "name": "checks" }, { - "type": "string", "name": "metadata" }, { - "type": "string", "name": "contents" }, { - "type": "string", "name": "deployments" } ] }, { - "type": "array of strings", "name": "events", - "description": "The list of events for the GitHub app", - "isRequired": true + "description": "The list of events for the GitHub app" }, { - "type": "integer", "name": "installations_count", "description": "The number of installations associated with the GitHub app" }, { - "type": "string", "name": "client_id" }, { - "type": "string", "name": "client_secret" }, { - "type": "string or null", "name": "webhook_secret" }, { - "type": "string", "name": "pem" } ] @@ -3295,9453 +2105,4088 @@ ] }, { - "type": "string", - "name": "details_url", - "isRequired": true + "name": "details_url" }, { - "type": "string", - "name": "external_id", - "isRequired": true + "name": "external_id" }, { - "type": "string", "name": "head_sha", - "description": "The SHA of the commit that is being checked.", - "isRequired": true + "description": "The SHA of the commit that is being checked." }, { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "The id of the check.", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the check.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object", - "name": "output", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "annotations_count", - "isRequired": true - }, - { - "type": "string", - "name": "annotations_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "summary", - "isRequired": true - }, - { - "type": "string or null", - "name": "text", - "isRequired": true - }, - { - "type": "string or null", - "name": "title", - "isRequired": true - } - ] - }, - { - "type": "array of objects", - "name": "pull_requests", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - } - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - } - ] - } - ] - } - ] - }, - { - "type": "string", - "name": "started_at", - "isRequired": true - }, - { - "type": "string", - "name": "status", - "description": "The phase of the lifecycle that the check is currently in.", - "isRequired": true, - "enum": [ - "queued", - "in_progress", - "completed", - "pending" - ] - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "enum": [ - "created" - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "completed" - ] - }, - { - "type": "object or null", - "name": "actions_meta", - "in": "body" - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "requested" - ] - }, - { - "type": "string", - "name": "commit_oid", - "in": "body", - "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.", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "in": "body", - "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.", - "isRequired": true - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "fixed" - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "reopened" - ] - }, - { - "type": "string", - "name": "pusher_type", - "in": "body", - "description": "The pusher type for the event. Can be either `user` or a deploy key.", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "in": "body", - "description": "The [`git ref`](https://docs.github.com/rest/reference/git#get-a-reference) resource.", - "isRequired": true - }, - { - "type": "object", - "name": "alert", - "in": "body", - "description": "A Dependabot alert.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "number", - "description": "The security alert number.", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the Dependabot alert.", - "isRequired": true, - "enum": [ - "dismissed", - "fixed", - "open" - ] - }, - { - "type": "object", - "name": "dependency", - "description": "Details for the vulnerable dependency.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "package", - "description": "Details for the vulnerable package.", - "childParamsGroups": [ - { - "type": "string", - "name": "ecosystem", - "description": "The package's language or package management ecosystem.", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The unique package name within its ecosystem.", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "manifest_path", - "description": "The full path to the dependency manifest file, relative to the root of the repository." - }, - { - "type": "string or null", - "name": "scope", - "description": "The execution scope of the vulnerable dependency.", - "enum": [ - "development", - "runtime" - ] - } - ] - }, - { - "type": "object", - "name": "security_advisory", - "description": "Details for the GitHub Security Advisory.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ghsa_id", - "description": "The unique GitHub Security Advisory ID assigned to the advisory.", - "isRequired": true - }, - { - "type": "string or null", - "name": "cve_id", - "description": "The unique CVE ID assigned to the advisory.", - "isRequired": true - }, - { - "type": "string", - "name": "summary", - "description": "A short, plain text summary of the advisory.", - "isRequired": true - }, - { - "type": "string", - "name": "description", - "description": "A long-form Markdown-supported description of the advisory.", - "isRequired": true - }, - { - "type": "array of objects", - "name": "vulnerabilities", - "description": "Vulnerable version range information for the advisory.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "package", - "description": "Details for the vulnerable package.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ecosystem", - "description": "The package's language or package management ecosystem.", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The unique package name within its ecosystem.", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "severity", - "description": "The severity of the vulnerability.", - "isRequired": true, - "enum": [ - "low", - "medium", - "high", - "critical" - ] - }, - { - "type": "string", - "name": "vulnerable_version_range", - "description": "Conditions that identify vulnerable versions of this vulnerability's package.", - "isRequired": true - }, - { - "type": "object or null", - "name": "first_patched_version", - "description": "Details pertaining to the package version that patches this vulnerability.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "identifier", - "description": "The package version that patches this vulnerability.", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string", - "name": "severity", - "description": "The severity of the advisory.", - "isRequired": true, - "enum": [ - "low", - "medium", - "high", - "critical" - ] - }, - { - "type": "object", - "name": "cvss", - "description": "Details for the advisory pertaining to the Common Vulnerability Scoring System.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "number", - "name": "score", - "description": "The overall CVSS score of the advisory.", - "isRequired": true - }, - { - "type": "string or null", - "name": "vector_string", - "description": "The full CVSS vector string for the advisory.", - "isRequired": true - } - ] - }, - { - "type": "array of objects", - "name": "cwes", - "description": "Details for the advisory pertaining to Common Weakness Enumeration.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "cwe_id", - "description": "The unique CWE ID.", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The short, plain text name of the CWE.", - "isRequired": true - } - ] - }, - { - "type": "array of objects", - "name": "identifiers", - "description": "Values that identify this advisory among security information sources.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "type", - "description": "The type of advisory identifier.", - "isRequired": true, - "enum": [ - "CVE", - "GHSA" - ] - }, - { - "type": "string", - "name": "value", - "description": "The value of the advisory identifer.", - "isRequired": true - } - ] - }, - { - "type": "array of objects", - "name": "references", - "description": "Links to additional advisory information.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "url", - "description": "The URL of the reference.", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "published_at", - "description": "The time that the advisory was published in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "The time that the advisory was last modified in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "isRequired": true - }, - { - "type": "string or null", - "name": "withdrawn_at", - "description": "The time that the advisory was withdrawn in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "security_vulnerability", - "description": "Details pertaining to one vulnerable version range for the advisory.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "package", - "description": "Details for the vulnerable package.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ecosystem", - "description": "The package's language or package management ecosystem.", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The unique package name within its ecosystem.", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "severity", - "description": "The severity of the vulnerability.", - "isRequired": true, - "enum": [ - "low", - "medium", - "high", - "critical" - ] - }, - { - "type": "string", - "name": "vulnerable_version_range", - "description": "Conditions that identify vulnerable versions of this vulnerability's package.", - "isRequired": true - }, - { - "type": "object or null", - "name": "first_patched_version", - "description": "Details pertaining to the package version that patches this vulnerability.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "identifier", - "description": "The package version that patches this vulnerability.", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string", - "name": "url", - "description": "The REST API URL of the alert resource.", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "The GitHub URL of the alert resource.", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "isRequired": true - }, - { - "type": "string or null", - "name": "dismissed_at", - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "isRequired": true - }, - { - "type": "object or null", - "name": "dismissed_by", - "description": "A GitHub user.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "string or null", - "name": "dismissed_reason", - "description": "The reason that the alert was dismissed.", - "isRequired": true, - "enum": [ - "fix_started", - "inaccurate", - "no_bandwidth", - "not_used", - "tolerable_risk" - ] - }, - { - "type": "string or null", - "name": "dismissed_comment", - "description": "An optional comment associated with the alert's dismissal.", - "isRequired": true - }, - { - "type": "string or null", - "name": "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`.", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "dismissed" - ] - }, - { - "type": "object", - "name": "key", - "in": "body", - "description": "The [`deploy key`](https://docs.github.com/rest/reference/deployments#get-a-deploy-key) resource.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "added_by" - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string or null", - "name": "last_used" - }, - { - "type": "boolean", - "name": "read_only", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "verified", - "isRequired": true - } - ] - }, - { - "type": "object or null", - "name": "workflow", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "badge_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "path", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "discussion", - "in": "body", - "description": "A Discussion in a repository.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true - }, - { - "type": "string or null", - "name": "answer_chosen_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "answer_chosen_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "answer_html_url", - "isRequired": true - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string", - "name": "body", - "isRequired": true - }, - { - "type": "object", - "name": "category", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "emoji", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_answerable", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "repository_id", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "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.", - "isRequired": true, - "enum": [ - "open", - "locked", - "converting", - "transferring" - ] - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "labeled" - ] - }, - { - "type": "object", - "name": "label", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "locked" - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "pinned" - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "transferred" - ] - }, - { - "type": "object", - "name": "sender", - "in": "body", - "description": "A GitHub user.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "unlabeled" - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "unlocked" - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "unpinned" - ] - }, - { - "type": "object", - "name": "comment", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string", - "name": "body", - "isRequired": true - }, - { - "type": "integer", - "name": "child_comment_count", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "integer", - "name": "discussion_id", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer or null", - "name": "parent_id", - "isRequired": true - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "revoked" - ] - }, - { - "type": "object", - "name": "repository", - "in": "body", - "description": "A repository on GitHub.", - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "License Simple", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - }, - { - "type": "string or null", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "html_url" - } - ] - }, - { - "type": "object or null", - "name": "organization", - "description": "A GitHub user.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - } - ] - }, - { - "type": "object", - "name": "owner", - "description": "A GitHub user.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "integer", - "name": "size", - "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false - }, - { - "type": "array of strings", - "name": "topics" - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "default": false - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository disabled.", - "isRequired": true - }, - { - "type": "string", - "name": "visibility", - "description": "The repository visibility: public, private, or internal.", - "default": "public" - }, - { - "type": "string or null", - "name": "pushed_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "object or null", - "name": "template_repository", - "childParamsGroups": [ - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "full_name" - }, - { - "type": "object", - "name": "owner", - "childParamsGroups": [ - { - "type": "string", - "name": "login" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "boolean", - "name": "site_admin" - } - ] - }, - { - "type": "boolean", - "name": "private" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string", - "name": "description" - }, - { - "type": "boolean", - "name": "fork" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "string", - "name": "archive_url" - }, - { - "type": "string", - "name": "assignees_url" - }, - { - "type": "string", - "name": "blobs_url" - }, - { - "type": "string", - "name": "branches_url" - }, - { - "type": "string", - "name": "collaborators_url" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "commits_url" - }, - { - "type": "string", - "name": "compare_url" - }, - { - "type": "string", - "name": "contents_url" - }, - { - "type": "string", - "name": "contributors_url" - }, - { - "type": "string", - "name": "deployments_url" - }, - { - "type": "string", - "name": "downloads_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "forks_url" - }, - { - "type": "string", - "name": "git_commits_url" - }, - { - "type": "string", - "name": "git_refs_url" - }, - { - "type": "string", - "name": "git_tags_url" - }, - { - "type": "string", - "name": "git_url" - }, - { - "type": "string", - "name": "issue_comment_url" - }, - { - "type": "string", - "name": "issue_events_url" - }, - { - "type": "string", - "name": "issues_url" - }, - { - "type": "string", - "name": "keys_url" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "string", - "name": "languages_url" - }, - { - "type": "string", - "name": "merges_url" - }, - { - "type": "string", - "name": "milestones_url" - }, - { - "type": "string", - "name": "notifications_url" - }, - { - "type": "string", - "name": "pulls_url" - }, - { - "type": "string", - "name": "releases_url" - }, - { - "type": "string", - "name": "ssh_url" - }, - { - "type": "string", - "name": "stargazers_url" - }, - { - "type": "string", - "name": "statuses_url" - }, - { - "type": "string", - "name": "subscribers_url" - }, - { - "type": "string", - "name": "subscription_url" - }, - { - "type": "string", - "name": "tags_url" - }, - { - "type": "string", - "name": "teams_url" - }, - { - "type": "string", - "name": "trees_url" - }, - { - "type": "string", - "name": "clone_url" - }, - { - "type": "string", - "name": "mirror_url" - }, - { - "type": "string", - "name": "hooks_url" - }, - { - "type": "string", - "name": "svn_url" - }, - { - "type": "string", - "name": "homepage" - }, - { - "type": "string", - "name": "language" - }, - { - "type": "integer", - "name": "forks_count" - }, - { - "type": "integer", - "name": "stargazers_count" - }, - { - "type": "integer", - "name": "watchers_count" - }, - { - "type": "integer", - "name": "size" - }, - { - "type": "string", - "name": "default_branch" - }, - { - "type": "integer", - "name": "open_issues_count" - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "array of strings", - "name": "topics" - }, - { - "type": "boolean", - "name": "has_issues" - }, - { - "type": "boolean", - "name": "has_projects" - }, - { - "type": "boolean", - "name": "has_wiki" - }, - { - "type": "boolean", - "name": "has_pages" - }, - { - "type": "boolean", - "name": "has_downloads" - }, - { - "type": "boolean", - "name": "archived" - }, - { - "type": "boolean", - "name": "disabled" - }, - { - "type": "string", - "name": "visibility" - }, - { - "type": "string", - "name": "pushed_at" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin" - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "push" - }, - { - "type": "boolean", - "name": "triage" - }, - { - "type": "boolean", - "name": "pull" - } - ] - }, - { - "type": "boolean", - "name": "allow_rebase_merge" - }, - { - "type": "string", - "name": "temp_clone_token" - }, - { - "type": "boolean", - "name": "allow_squash_merge" - }, - { - "type": "boolean", - "name": "allow_auto_merge" - }, - { - "type": "boolean", - "name": "delete_branch_on_merge" - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default" - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "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": "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": "boolean", - "name": "allow_merge_commit" - }, - { - "type": "integer", - "name": "subscribers_count" - }, - { - "type": "integer", - "name": "network_count" - } - ] - }, - { - "type": "string", - "name": "temp_clone_token" - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "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": "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": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow forking this repo" - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits", - "default": false - }, - { - "type": "integer", - "name": "subscribers_count" - }, - { - "type": "integer", - "name": "network_count" - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "starred_at" - }, - { - "type": "boolean", - "name": "anonymous_access_enabled", - "description": "Whether anonymous git access is enabled for this repository" - } - ] - }, - { - "type": "object", - "name": "installation", - "in": "body", - "description": "Installation", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "description": "The ID of the installation.", - "isRequired": true - }, - { - "type": "null", - "name": "account", - "isRequired": true - }, - { - "type": "string", - "name": "repository_selection", - "description": "Describe whether all repositories have been selected or there's a selection involved", - "isRequired": true, - "enum": [ - "all", - "selected" - ] - }, - { - "type": "string", - "name": "access_tokens_url", - "isRequired": true - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "app_id", - "isRequired": true - }, - { - "type": "integer", - "name": "target_id", - "description": "The ID of the user or organization this token is being scoped to.", - "isRequired": true - }, - { - "type": "string", - "name": "target_type", - "isRequired": true - }, - { - "type": "object", - "name": "permissions", - "description": "The permissions granted to the user-to-server access token.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "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", - "name": "checks", - "description": "The level of permission to grant the access token for checks on code.", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "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", - "name": "deployments", - "description": "The level of permission to grant the access token for deployments and deployment statuses.", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "description": "The level of permission to grant the access token for managing repository environments.", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "packages", - "description": "The level of permission to grant the access token for packages published to GitHub Packages.", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "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", - "name": "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", - "name": "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", - "name": "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", - "name": "secrets", - "description": "The level of permission to grant the access token to manage repository secrets.", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "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", - "name": "single_file", - "description": "The level of permission to grant the access token to manage just a single file.", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "description": "The level of permission to grant the access token for commit statuses.", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "description": "The level of permission to grant the access token to manage Dependabot alerts.", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", - "enum": [ - "write" - ] - }, - { - "type": "string", - "name": "members", - "description": "The level of permission to grant the access token for organization teams and members.", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "description": "The level of permission to grant the access token to manage access to an organization.", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "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", - "name": "organization_plan", - "description": "The level of permission to grant the access token for viewing an organization's plan.", - "enum": [ - "read" - ] - }, - { - "type": "string", - "name": "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", - "name": "organization_packages", - "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "description": "The level of permission to grant the access token to manage organization secrets.", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "team_discussions", - "description": "The level of permission to grant the access token to manage team discussions and related comments.", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "array of strings", - "name": "events", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "single_file_name", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_multiple_single_files" - }, - { - "type": "array of strings", - "name": "single_file_paths" - }, - { - "type": "string", - "name": "app_slug", - "isRequired": true - }, - { - "type": "object or null", - "name": "suspended_by", - "description": "A GitHub user.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "string or null", - "name": "suspended_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "contact_email" - } - ] - }, - { - "type": "array of objects", - "name": "repositories", - "in": "body", - "description": "An array of repository objects that the installation can access.", - "childParamsGroups": [ - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - } - ] - }, - { - "type": "null", - "name": "requester", - "in": "body" - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "added" - ] - }, - { - "type": "array of objects", - "name": "repositories_added", - "in": "body", - "description": "An array of repository objects, which were added to the installation.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_selection", - "in": "body", - "description": "Describe whether all repositories have been selected or there's a selection involved", - "isRequired": true, - "enum": [ - "all", - "selected" - ] - }, - { - "type": "object or null", - "name": "requester", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id", - "isRequired": true + "description": "The id of the check." }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "name", + "description": "The name of the check." }, { - "type": "string", - "name": "name" - }, - { - "type": "string", "name": "node_id" }, { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" + "name": "output", + "childParamsGroups": [ + { + "name": "annotations_count" + }, + { + "name": "annotations_url" + }, + { + "name": "summary" + }, + { + "name": "text" + }, + { + "name": "title" + } ] }, { - "type": "string", + "name": "pull_requests", + "childParamsGroups": [ + { + "name": "id" + }, + { + "name": "number" + }, + { + "name": "url" + }, + { + "name": "head", + "childParamsGroups": [ + { + "name": "ref" + }, + { + "name": "sha" + }, + { + "name": "repo", + "childParamsGroups": [ + { + "name": "id" + }, + { + "name": "url" + }, + { + "name": "name" + } + ] + } + ] + }, + { + "name": "base", + "childParamsGroups": [ + { + "name": "ref" + }, + { + "name": "sha" + }, + { + "name": "repo", + "childParamsGroups": [ + { + "name": "id" + }, + { + "name": "url" + }, + { + "name": "name" + } + ] + } + ] + } + ] + }, + { + "name": "started_at" + }, + { + "name": "status", + "description": "The phase of the lifecycle that the check is currently in." + }, + { "name": "url" } ] }, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "removed" - ] + "name": "actions_meta" }, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true - }, - { - "type": "object", - "name": "installation", - "in": "body", - "description": "The GitHub App installation. This property is included when the event is configured for and sent to a GitHub App.", - "isRequired": true, + "name": "check_suite", + "description": "The [check_suite](https://docs.github.com/rest/reference/checks#suites).", "childParamsGroups": [ { - "type": "integer", - "name": "id", - "description": "The ID of the installation.", - "isRequired": true + "name": "after" }, { - "type": "string", - "name": "node_id", - "description": "The global node ID of the installation.", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "comment", - "in": "body", - "description": "The [comment](https://docs.github.com/rest/reference/issues#comments) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string", - "name": "body", - "description": "Contents of the issue comment", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the issue comment", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "performed_via_github_app", + "name": "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.", - "isRequired": true, "childParamsGroups": [ { - "type": "integer", + "name": "created_at" + }, + { + "name": "description" + }, + { + "name": "events", + "description": "The list of events for the GitHub app" + }, + { + "name": "external_url" + }, + { + "name": "html_url" + }, + { "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true + "description": "Unique identifier of the GitHub app" + }, + { + "name": "name", + "description": "The name of the GitHub app" + }, + { + "name": "node_id" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "description": "The set of permissions for the GitHub app", + "childParamsGroups": [ + { + "name": "actions" + }, + { + "name": "administration" + }, + { + "name": "checks" + }, + { + "name": "content_references" + }, + { + "name": "contents" + }, + { + "name": "deployments" + }, + { + "name": "discussions" + }, + { + "name": "emails" + }, + { + "name": "environments" + }, + { + "name": "issues" + }, + { + "name": "keys" + }, + { + "name": "members" + }, + { + "name": "metadata" + }, + { + "name": "organization_administration" + }, + { + "name": "organization_hooks" + }, + { + "name": "organization_packages" + }, + { + "name": "organization_plan" + }, + { + "name": "organization_projects" + }, + { + "name": "organization_secrets" + }, + { + "name": "organization_self_hosted_runners" + }, + { + "name": "organization_user_blocking" + }, + { + "name": "packages" + }, + { + "name": "pages" + }, + { + "name": "pull_requests" + }, + { + "name": "repository_hooks" + }, + { + "name": "repository_projects" + }, + { + "name": "secret_scanning_alerts" + }, + { + "name": "secrets" + }, + { + "name": "security_events" + }, + { + "name": "security_scanning_alert" + }, + { + "name": "single_file" + }, + { + "name": "statuses" + }, + { + "name": "team_discussions" + }, + { + "name": "vulnerability_alerts" + }, + { + "name": "workflows" + } + ] }, { - "type": "string", "name": "slug", "description": "The slug name of the GitHub app" }, { - "type": "string", - "name": "node_id", - "isRequired": true - }, + "name": "updated_at" + } + ] + }, + { + "name": "before" + }, + { + "name": "check_runs_url" + }, + { + "name": "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." + }, + { + "name": "created_at" + }, + { + "name": "head_branch", + "description": "The head branch name the changes are on." + }, + { + "name": "head_commit", + "childParamsGroups": [ { - "type": "object or null", - "name": "owner", - "description": "A GitHub user.", - "isRequired": true, + "name": "author", + "description": "Metaproperties for Git author/committer information.", "childParamsGroups": [ { - "type": "string or null", - "name": "name" + "name": "date" }, { - "type": "string or null", "name": "email" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "name", + "description": "The git author's name." }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "username" + } + ] + }, + { + "name": "committer", + "description": "Metaproperties for Git author/committer information.", + "childParamsGroups": [ + { + "name": "date" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "email" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "name", + "description": "The git author's name." }, { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true + "name": "username" + } + ] + }, + { + "name": "id" + }, + { + "name": "message" + }, + { + "name": "timestamp" + }, + { + "name": "tree_id" + } + ] + }, + { + "name": "head_sha", + "description": "The SHA of the head commit that is being checked." + }, + { + "name": "id" + }, + { + "name": "latest_check_runs_count" + }, + { + "name": "node_id" + }, + { + "name": "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.", + "childParamsGroups": [ + { + "name": "base", + "childParamsGroups": [ + { + "name": "ref" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "repo", + "childParamsGroups": [ + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "url" + } + ] }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "sha" + } + ] + }, + { + "name": "head", + "childParamsGroups": [ + { + "name": "ref" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "repo", + "childParamsGroups": [ + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "url" + } + ] }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "sha" + } + ] + }, + { + "name": "id" + }, + { + "name": "number" + }, + { + "name": "url" + } + ] + }, + { + "name": "rerequestable" + }, + { + "name": "runs_rerequestable" + }, + { + "name": "status", + "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`." + }, + { + "name": "updated_at" + }, + { + "name": "url", + "description": "URL that points to the check suite API resource." + } + ] + }, + { + "name": "pusher_type", + "description": "The pusher type for the event. Can be either `user` or a deploy key." + }, + { + "name": "ref", + "description": "The [`git ref`](https://docs.github.com/rest/reference/git#get-a-reference) resource." + }, + { + "name": "deployment", + "description": "The [deployment](https://docs.github.com/rest/reference/deployments#list-deployments).", + "childParamsGroups": [ + { + "name": "created_at" + }, + { + "name": "creator", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "description" + }, + { + "name": "environment" + }, + { + "name": "id" + }, + { + "name": "node_id" + }, + { + "name": "original_environment" + }, + { + "name": "payload", + "description": "" + }, + { + "name": "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.", + "childParamsGroups": [ + { + "name": "created_at" + }, + { + "name": "description" + }, + { + "name": "events", + "description": "The list of events for the GitHub app" + }, + { + "name": "external_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the GitHub app" + }, + { + "name": "name", + "description": "The name of the GitHub app" + }, + { + "name": "node_id" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "deleted" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "email" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "html_url" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "description": "The set of permissions for the GitHub app", + "childParamsGroups": [ + { + "name": "actions" + }, + { + "name": "administration" + }, + { + "name": "checks" + }, + { + "name": "content_references" + }, + { + "name": "contents" + }, + { + "name": "deployments" + }, + { + "name": "discussions" + }, + { + "name": "emails" + }, + { + "name": "environments" + }, + { + "name": "issues" + }, + { + "name": "keys" + }, + { + "name": "members" + }, + { + "name": "metadata" + }, + { + "name": "organization_administration" + }, + { + "name": "organization_hooks" + }, + { + "name": "organization_packages" + }, + { + "name": "organization_plan" + }, + { + "name": "organization_projects" + }, + { + "name": "organization_secrets" + }, + { + "name": "organization_self_hosted_runners" + }, + { + "name": "organization_user_blocking" + }, + { + "name": "packages" + }, + { + "name": "pages" + }, + { + "name": "pull_requests" + }, + { + "name": "repository_hooks" + }, + { + "name": "repository_projects" + }, + { + "name": "secret_scanning_alerts" + }, + { + "name": "secrets" + }, + { + "name": "security_events" + }, + { + "name": "security_scanning_alert" + }, + { + "name": "single_file" + }, + { + "name": "statuses" + }, + { + "name": "team_discussions" + }, + { + "name": "vulnerability_alerts" + }, + { + "name": "workflows" + } + ] + }, + { + "name": "slug", + "description": "The slug name of the GitHub app" + }, + { + "name": "updated_at" + } + ] + }, + { + "name": "production_environment" + }, + { + "name": "ref" + }, + { + "name": "repository_url" + }, + { + "name": "sha" + }, + { + "name": "statuses_url" + }, + { + "name": "task" + }, + { + "name": "transient_environment" + }, + { + "name": "updated_at" + }, + { + "name": "url" + } + ] + }, + { + "name": "workflow", + "childParamsGroups": [ + { + "name": "badge_url" + }, + { + "name": "created_at" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "path" + }, + { + "name": "state" + }, + { + "name": "updated_at" + }, + { + "name": "url" + } + ] + }, + { + "name": "workflow_run", + "childParamsGroups": [ + { + "name": "actor", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "artifacts_url" + }, + { + "name": "cancel_url" + }, + { + "name": "check_suite_id" + }, + { + "name": "check_suite_node_id" + }, + { + "name": "check_suite_url" + }, + { + "name": "conclusion" + }, + { + "name": "created_at" + }, + { + "name": "display_title" + }, + { + "name": "event" + }, + { + "name": "head_branch" + }, + { + "name": "head_commit" + }, + { + "name": "head_repository", + "childParamsGroups": [ + { + "name": "archive_url" + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "languages_url" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "private" + }, + { + "name": "pulls_url" + }, + { + "name": "releases_url" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "trees_url" + }, + { + "name": "url" + } + ] + }, + { + "name": "head_sha" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "jobs_url" + }, + { + "name": "logs_url" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "path" + }, + { + "name": "previous_attempt_url" + }, + { + "name": "pull_requests", + "childParamsGroups": [ + { + "name": "base", + "childParamsGroups": [ + { + "name": "ref" + }, + { + "name": "repo", + "childParamsGroups": [ + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "url" + } + ] + }, + { + "name": "sha" + } + ] + }, + { + "name": "head", + "childParamsGroups": [ + { + "name": "ref" + }, + { + "name": "repo", + "childParamsGroups": [ + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "url" + } + ] + }, + { + "name": "sha" + } + ] + }, + { + "name": "id" + }, + { + "name": "number" + }, + { + "name": "url" + } + ] + }, + { + "name": "referenced_workflows", + "childParamsGroups": [ + { + "name": "path" + }, + { + "name": "ref" + }, + { + "name": "sha" + } + ] + }, + { + "name": "repository", + "childParamsGroups": [ + { + "name": "archive_url" + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "languages_url" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "private" + }, + { + "name": "pulls_url" + }, + { + "name": "releases_url" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "trees_url" + }, + { + "name": "url" + } + ] + }, + { + "name": "rerun_url" + }, + { + "name": "run_attempt" + }, + { + "name": "run_number" + }, + { + "name": "run_started_at" + }, + { + "name": "status" + }, + { + "name": "triggering_actor", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "workflow_id" + }, + { + "name": "workflow_url" + } + ] + }, + { + "name": "discussion", + "description": "A Discussion in a repository.", + "childParamsGroups": [ + { + "name": "active_lock_reason" + }, + { + "name": "answer_chosen_at" + }, + { + "name": "answer_chosen_by", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "answer_html_url" + }, + { + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "body" + }, + { + "name": "category", + "childParamsGroups": [ + { + "name": "created_at" + }, + { + "name": "description" + }, + { + "name": "emoji" + }, + { + "name": "id" + }, + { + "name": "is_answerable" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "repository_id" + }, + { + "name": "slug" + }, + { + "name": "updated_at" + } + ] + }, + { + "name": "comments" + }, + { + "name": "created_at" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "locked" + }, + { + "name": "node_id" + }, + { + "name": "number" + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "repository_url" + }, + { + "name": "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." + }, + { + "name": "timeline_url" + }, + { + "name": "title" + }, + { + "name": "updated_at" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "label", + "childParamsGroups": [ + { + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color" + }, + { + "name": "default" + }, + { + "name": "description" + }, + { + "name": "id" + }, + { + "name": "name", + "description": "The name of the label." + }, + { + "name": "node_id" + }, + { + "name": "url", + "description": "URL for the label" + } + ] + }, + { + "name": "comment", + "childParamsGroups": [ + { + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "body" + }, + { + "name": "child_comment_count" + }, + { + "name": "created_at" + }, + { + "name": "discussion_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "node_id" + }, + { + "name": "parent_id" + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "repository_url" + }, + { + "name": "updated_at" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "comment", + "description": "The [comment](https://docs.github.com/rest/reference/issues#comments) itself.", + "childParamsGroups": [ + { + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "body", + "description": "Contents of the issue comment" + }, + { + "name": "created_at" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the issue comment" + }, + { + "name": "issue_url" + }, + { + "name": "node_id" + }, + { + "name": "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.", + "childParamsGroups": [ + { + "name": "id", + "description": "Unique identifier of the GitHub app" + }, + { + "name": "slug", + "description": "The slug name of the GitHub app" + }, + { + "name": "node_id" + }, + { + "name": "owner", + "description": "A GitHub user.", + "childParamsGroups": [ + { + "name": "name" + }, + { + "name": "email" + }, + { + "name": "login" + }, + { + "name": "id" + }, + { + "name": "node_id" + }, + { + "name": "avatar_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "url" + }, + { + "name": "html_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "organizations_url" + }, + { + "name": "repos_url" + }, + { + "name": "events_url" + }, + { + "name": "received_events_url" + }, + { + "name": "type" + }, + { + "name": "site_admin" }, { - "type": "string", "name": "starred_at" } ] }, { - "type": "string", "name": "name", - "description": "The name of the GitHub app", - "isRequired": true + "description": "The name of the GitHub app" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string", - "name": "external_url", - "isRequired": true + "name": "external_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "object", "name": "permissions", "description": "The set of permissions for the GitHub app", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "issues" }, { - "type": "string", "name": "checks" }, { - "type": "string", "name": "metadata" }, { - "type": "string", "name": "contents" }, { - "type": "string", "name": "deployments" } ] }, { - "type": "array of strings", "name": "events", - "description": "The list of events for the GitHub app", - "isRequired": true + "description": "The list of events for the GitHub app" }, { - "type": "integer", "name": "installations_count", "description": "The number of installations associated with the GitHub app" }, { - "type": "string", "name": "client_id" }, { - "type": "string", "name": "client_secret" }, { - "type": "string or null", "name": "webhook_secret" }, { - "type": "string", "name": "pem" } ] }, { - "type": "object", "name": "reactions", - "isRequired": true, "childParamsGroups": [ { - "type": "integer", - "name": "+1", - "isRequired": true + "name": "+1" }, { - "type": "integer", - "name": "-1", - "isRequired": true + "name": "-1" }, { - "type": "integer", - "name": "confused", - "isRequired": true + "name": "confused" }, { - "type": "integer", - "name": "eyes", - "isRequired": true + "name": "eyes" }, { - "type": "integer", - "name": "heart", - "isRequired": true + "name": "heart" }, { - "type": "integer", - "name": "hooray", - "isRequired": true + "name": "hooray" }, { - "type": "integer", - "name": "laugh", - "isRequired": true + "name": "laugh" }, { - "type": "integer", - "name": "rocket", - "isRequired": true + "name": "rocket" }, { - "type": "integer", - "name": "total_count", - "isRequired": true + "name": "total_count" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", "name": "url", - "description": "URL for the issue comment", - "isRequired": true + "description": "URL for the issue comment" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "object", - "name": "changes", - "in": "body", - "description": "The changes to the comment.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "body", - "childParamsGroups": [ - { - "type": "string", - "name": "from", - "description": "The previous version of the body.", - "isRequired": true - } - ] - } - ] - }, - { - "type": "object", - "name": "issue", - "in": "body", - "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "description": "Contents of the issue", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write", - "admin" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "childParamsGroups": [ - { - "type": "string", - "name": "diff_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string or null", - "name": "merged_at" - }, - { - "type": "string", - "name": "patch_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string or null", - "name": "state_reason" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "description": "Title of the issue", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the issue", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "object", - "name": "issue", - "in": "body", - "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "description": "Contents of the issue", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "childParamsGroups": [ - { - "type": "string", - "name": "diff_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string or null", - "name": "merged_at" - }, - { - "type": "string", - "name": "patch_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string or null", - "name": "state_reason" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "description": "Title of the issue", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the issue", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "demilestoned" - ] - }, - { - "type": "object", - "name": "label", - "in": "body", - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "milestoned" - ] - }, - { - "type": "object", - "name": "milestone", - "in": "body", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "opened" - ] - }, - { - "type": "object or null", - "name": "assignee", - "in": "body", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "cancelled" - ] - }, - { - "type": "string", - "name": "effective_date", - "in": "body", - "isRequired": true - }, - { - "type": "object", - "name": "marketplace_purchase", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "account", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "organization_billing_email", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "billing_cycle", - "isRequired": true - }, - { - "type": "string or null", - "name": "free_trial_ends_on", - "isRequired": true - }, - { - "type": "string or null", - "name": "next_billing_date" - }, - { - "type": "boolean", - "name": "on_free_trial", - "isRequired": true - }, - { - "type": "object", - "name": "plan", - "isRequired": true, - "childParamsGroups": [ - { - "type": "array of strings", - "name": "bullets", - "isRequired": true - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_free_trial", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "integer", - "name": "monthly_price_in_cents", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "price_model", - "isRequired": true, - "enum": [ - "FREE", - "FLAT_RATE", - "PER_UNIT" - ] - }, - { - "type": "string or null", - "name": "unit_name", - "isRequired": true - }, - { - "type": "integer", - "name": "yearly_price_in_cents", - "isRequired": true - } - ] - }, - { - "type": "integer", - "name": "unit_count", - "isRequired": true - }, - { - "type": "object", - "name": "account", - "childParamsGroups": [ - { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", + "name": "name" + }, + { "name": "node_id" }, { - "type": "string or null", - "name": "organization_billing_email" + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" }, { - "type": "string", "name": "type" - } - ] - }, - { - "type": "string", - "name": "billing_cycle" - }, - { - "type": "string or null", - "name": "free_trial_ends_on" - }, - { - "type": "string or null", - "name": "next_billing_date", - "isRequired": true - }, - { - "type": "boolean", - "name": "on_free_trial" - }, - { - "type": "object", - "name": "plan", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "bullets" - }, - { - "type": "string", - "name": "description" - }, - { - "type": "boolean", - "name": "has_free_trial" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "integer", - "name": "monthly_price_in_cents" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "price_model", - "enum": [ - "FREE", - "FLAT_RATE", - "PER_UNIT" - ] - }, - { - "type": "string or null", - "name": "unit_name" - }, - { - "type": "integer", - "name": "yearly_price_in_cents" - } - ] - }, - { - "type": "integer", - "name": "unit_count" - } - ] - }, - { - "type": "object", - "name": "previous_marketplace_purchase", - "in": "body", - "childParamsGroups": [ - { - "type": "object", - "name": "account", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "organization_billing_email", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "billing_cycle", - "isRequired": true - }, - { - "type": "null", - "name": "free_trial_ends_on", - "isRequired": true - }, - { - "type": "string or null", - "name": "next_billing_date" - }, - { - "type": "boolean", - "name": "on_free_trial", - "isRequired": true - }, - { - "type": "object", - "name": "plan", - "isRequired": true, - "childParamsGroups": [ - { - "type": "array of strings", - "name": "bullets", - "isRequired": true - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_free_trial", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "integer", - "name": "monthly_price_in_cents", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "price_model", - "isRequired": true, - "enum": [ - "FREE", - "FLAT_RATE", - "PER_UNIT" - ] - }, - { - "type": "string or null", - "name": "unit_name", - "isRequired": true - }, - { - "type": "integer", - "name": "yearly_price_in_cents", - "isRequired": true - } - ] - }, - { - "type": "integer", - "name": "unit_count", - "isRequired": true - } - ] - }, - { - "type": "object or null", - "name": "member", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "organization", - "in": "body", - "description": "A GitHub organization.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "public_members_url", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - } - ] - }, - { - "type": "object or null", - "name": "sender", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "team", - "in": "body", - "description": "Groups of organization members that gives permissions on specified repositories.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "object or null", - "name": "repository", - "in": "body", - "description": "A repository on GitHub.", - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "License Simple", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - }, - { - "type": "string or null", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "html_url" - } - ] - }, - { - "type": "object or null", - "name": "organization", - "description": "A GitHub user.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - } - ] - }, - { - "type": "object", - "name": "owner", - "description": "A GitHub user.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "integer", - "name": "size", - "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false - }, - { - "type": "array of strings", - "name": "topics" - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "default": false - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository disabled.", - "isRequired": true - }, - { - "type": "string", - "name": "visibility", - "description": "The repository visibility: public, private, or internal.", - "default": "public" - }, - { - "type": "string or null", - "name": "pushed_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "object or null", - "name": "template_repository", - "childParamsGroups": [ - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "full_name" - }, - { - "type": "object", - "name": "owner", - "childParamsGroups": [ - { - "type": "string", - "name": "login" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "boolean", - "name": "site_admin" - } - ] - }, - { - "type": "boolean", - "name": "private" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string", - "name": "description" - }, - { - "type": "boolean", - "name": "fork" }, { - "type": "string", "name": "url" + } + ] + } + ] + }, + { + "name": "issue", + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "childParamsGroups": [ + { + "name": "active_lock_reason" + }, + { + "name": "assignee", + "childParamsGroups": [ + { + "name": "avatar_url" }, { - "type": "string", - "name": "archive_url" + "name": "deleted" }, { - "type": "string", - "name": "assignees_url" + "name": "email" }, { - "type": "string", - "name": "blobs_url" - }, - { - "type": "string", - "name": "branches_url" - }, - { - "type": "string", - "name": "collaborators_url" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "commits_url" - }, - { - "type": "string", - "name": "compare_url" - }, - { - "type": "string", - "name": "contents_url" - }, - { - "type": "string", - "name": "contributors_url" - }, - { - "type": "string", - "name": "deployments_url" - }, - { - "type": "string", - "name": "downloads_url" - }, - { - "type": "string", "name": "events_url" }, { - "type": "string", - "name": "forks_url" + "name": "followers_url" }, { - "type": "string", - "name": "git_commits_url" + "name": "following_url" }, { - "type": "string", - "name": "git_refs_url" + "name": "gists_url" }, { - "type": "string", - "name": "git_tags_url" + "name": "gravatar_id" }, { - "type": "string", - "name": "git_url" + "name": "html_url" }, { - "type": "string", - "name": "issue_comment_url" + "name": "id" }, { - "type": "string", - "name": "issue_events_url" + "name": "login" }, { - "type": "string", - "name": "issues_url" + "name": "name" }, { - "type": "string", - "name": "keys_url" + "name": "node_id" }, { - "type": "string", - "name": "labels_url" + "name": "organizations_url" }, { - "type": "string", - "name": "languages_url" + "name": "received_events_url" }, { - "type": "string", - "name": "merges_url" + "name": "repos_url" }, { - "type": "string", - "name": "milestones_url" + "name": "site_admin" }, { - "type": "string", - "name": "notifications_url" + "name": "starred_url" }, { - "type": "string", - "name": "pulls_url" + "name": "subscriptions_url" }, { - "type": "string", - "name": "releases_url" + "name": "type" }, { - "type": "string", - "name": "ssh_url" + "name": "url" + } + ] + }, + { + "name": "assignees", + "childParamsGroups": [ + { + "name": "avatar_url" }, { - "type": "string", - "name": "stargazers_url" + "name": "deleted" }, { - "type": "string", - "name": "statuses_url" + "name": "email" }, { - "type": "string", - "name": "subscribers_url" + "name": "events_url" }, { - "type": "string", - "name": "subscription_url" + "name": "followers_url" }, { - "type": "string", - "name": "tags_url" + "name": "following_url" }, { - "type": "string", - "name": "teams_url" + "name": "gists_url" }, { - "type": "string", - "name": "trees_url" + "name": "gravatar_id" }, { - "type": "string", - "name": "clone_url" + "name": "html_url" }, { - "type": "string", - "name": "mirror_url" + "name": "id" }, { - "type": "string", - "name": "hooks_url" + "name": "login" }, { - "type": "string", - "name": "svn_url" + "name": "name" }, { - "type": "string", - "name": "homepage" + "name": "node_id" }, { - "type": "string", - "name": "language" + "name": "organizations_url" }, { - "type": "integer", - "name": "forks_count" + "name": "received_events_url" }, { - "type": "integer", - "name": "stargazers_count" + "name": "repos_url" }, { - "type": "integer", - "name": "watchers_count" + "name": "site_admin" }, { - "type": "integer", - "name": "size" + "name": "starred_url" }, { - "type": "string", - "name": "default_branch" + "name": "subscriptions_url" }, { - "type": "integer", - "name": "open_issues_count" + "name": "type" }, { - "type": "boolean", - "name": "is_template" + "name": "url" + } + ] + }, + { + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "body", + "description": "Contents of the issue" + }, + { + "name": "closed_at" + }, + { + "name": "comments" + }, + { + "name": "comments_url" + }, + { + "name": "created_at" + }, + { + "name": "draft" + }, + { + "name": "events_url" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels", + "childParamsGroups": [ + { + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color" }, { - "type": "array of strings", - "name": "topics" + "name": "default" }, { - "type": "boolean", - "name": "has_issues" + "name": "description" }, { - "type": "boolean", - "name": "has_projects" + "name": "id" }, { - "type": "boolean", - "name": "has_wiki" + "name": "name", + "description": "The name of the label." }, { - "type": "boolean", - "name": "has_pages" + "name": "node_id" }, { - "type": "boolean", - "name": "has_downloads" + "name": "url", + "description": "URL for the label" + } + ] + }, + { + "name": "labels_url" + }, + { + "name": "locked" + }, + { + "name": "milestone", + "description": "A collection of related issues and pull requests.", + "childParamsGroups": [ + { + "name": "closed_at" }, { - "type": "boolean", - "name": "archived" + "name": "closed_issues" }, { - "type": "boolean", - "name": "disabled" - }, - { - "type": "string", - "name": "visibility" - }, - { - "type": "string", - "name": "pushed_at" - }, - { - "type": "string", "name": "created_at" }, { - "type": "string", - "name": "updated_at" - }, - { - "type": "object", - "name": "permissions", + "name": "creator", "childParamsGroups": [ { - "type": "boolean", - "name": "admin" + "name": "avatar_url" }, { - "type": "boolean", - "name": "maintain" + "name": "deleted" }, { - "type": "boolean", - "name": "push" + "name": "email" }, { - "type": "boolean", - "name": "triage" + "name": "events_url" }, { - "type": "boolean", - "name": "pull" + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" } ] }, { - "type": "boolean", - "name": "allow_rebase_merge" + "name": "description" }, { - "type": "string", - "name": "temp_clone_token" + "name": "due_on" }, { - "type": "boolean", - "name": "allow_squash_merge" - }, - { - "type": "boolean", - "name": "allow_auto_merge" - }, - { - "type": "boolean", - "name": "delete_branch_on_merge" - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default" - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "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": "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": "boolean", - "name": "allow_merge_commit" - }, - { - "type": "integer", - "name": "subscribers_count" - }, - { - "type": "integer", - "name": "network_count" - } - ] - }, - { - "type": "string", - "name": "temp_clone_token" - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "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": "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": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow forking this repo" - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits", - "default": false - }, - { - "type": "integer", - "name": "subscribers_count" - }, - { - "type": "integer", - "name": "network_count" - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "starred_at" - }, - { - "type": "boolean", - "name": "anonymous_access_enabled", - "description": "Whether anonymous git access is enabled for this repository" - } - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "closed" - ] - }, - { - "type": "object", - "name": "milestone", - "in": "body", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "labels_url" }, { - "type": "string", - "name": "name" - }, - { - "type": "string", "name": "node_id" }, { - "type": "string", - "name": "organizations_url" + "name": "number", + "description": "The number of the milestone." }, { - "type": "string", - "name": "received_events_url" + "name": "open_issues" }, { - "type": "string", - "name": "repos_url" + "name": "state", + "description": "The state of the milestone." }, { - "type": "boolean", - "name": "site_admin" + "name": "title", + "description": "The title of the milestone." }, { - "type": "string", - "name": "starred_url" + "name": "updated_at" }, { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "node_id" }, { - "type": "string or null", - "name": "due_on", - "isRequired": true + "name": "number" }, { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" + "name": "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.", + "childParamsGroups": [ + { + "name": "created_at" + }, + { + "name": "description" + }, + { + "name": "events", + "description": "The list of events for the GitHub app" + }, + { + "name": "external_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the GitHub app" + }, + { + "name": "name", + "description": "The name of the GitHub app" + }, + { + "name": "node_id" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "description": "The set of permissions for the GitHub app", + "childParamsGroups": [ + { + "name": "actions" + }, + { + "name": "administration" + }, + { + "name": "checks" + }, + { + "name": "content_references" + }, + { + "name": "contents" + }, + { + "name": "deployments" + }, + { + "name": "discussions" + }, + { + "name": "emails" + }, + { + "name": "environments" + }, + { + "name": "issues" + }, + { + "name": "keys" + }, + { + "name": "members" + }, + { + "name": "metadata" + }, + { + "name": "organization_administration" + }, + { + "name": "organization_hooks" + }, + { + "name": "organization_packages" + }, + { + "name": "organization_plan" + }, + { + "name": "organization_projects" + }, + { + "name": "organization_secrets" + }, + { + "name": "organization_self_hosted_runners" + }, + { + "name": "organization_user_blocking" + }, + { + "name": "packages" + }, + { + "name": "pages" + }, + { + "name": "pull_requests" + }, + { + "name": "repository_hooks" + }, + { + "name": "repository_projects" + }, + { + "name": "secret_scanning_alerts" + }, + { + "name": "secrets" + }, + { + "name": "security_events" + }, + { + "name": "security_scanning_alert" + }, + { + "name": "single_file" + }, + { + "name": "statuses" + }, + { + "name": "team_discussions" + }, + { + "name": "vulnerability_alerts" + }, + { + "name": "workflows" + } + ] + }, + { + "name": "slug", + "description": "The slug name of the GitHub app" + }, + { + "name": "updated_at" + } ] }, { - "type": "string", + "name": "pull_request", + "childParamsGroups": [ + { + "name": "diff_url" + }, + { + "name": "html_url" + }, + { + "name": "merged_at" + }, + { + "name": "patch_url" + }, + { + "name": "url" + } + ] + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "repository_url" + }, + { + "name": "state", + "description": "State of the issue; either 'open' or 'closed'" + }, + { + "name": "state_reason" + }, + { + "name": "timeline_url" + }, + { "name": "title", - "description": "The title of the milestone.", - "isRequired": true + "description": "Title of the issue" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", "name": "url", - "isRequired": true + "description": "URL for the issue" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "active_lock_reason" + }, + { + "name": "assignee", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "assignees" + }, + { + "name": "author_association" + }, + { + "name": "body" + }, + { + "name": "closed_at" + }, + { + "name": "comments" + }, + { + "name": "comments_url" + }, + { + "name": "created_at" + }, + { + "name": "events_url" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels", + "childParamsGroups": [ + { + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color" + }, + { + "name": "default" + }, + { + "name": "description" + }, + { + "name": "id" + }, + { + "name": "name", + "description": "The name of the label." + }, + { + "name": "node_id" + }, + { + "name": "url", + "description": "URL for the label" + } + ] + }, + { + "name": "labels_url" + }, + { + "name": "locked" + }, + { + "name": "milestone" + }, + { + "name": "node_id" + }, + { + "name": "number" + }, + { + "name": "performed_via_github_app" + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "repository_url" + }, + { + "name": "state", + "description": "State of the issue; either 'open' or 'closed'" + }, + { + "name": "timeline_url" + }, + { + "name": "title" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] } ] }, { - "type": "object or null", - "name": "blocked_user", - "in": "body", - "isRequired": true, + "name": "changes", + "description": "The changes to the comment.", + "childParamsGroups": [ + { + "name": "body", + "childParamsGroups": [ + { + "name": "from", + "description": "The previous version of the body." + } + ] + } + ] + }, + { + "name": "action", + "description": "The action that was performed." + }, + { + "name": "assignee", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object", - "name": "membership", - "in": "body", - "description": "The membership between the user and the organization. Not present when the action is `member_invited`.", + "name": "issue", + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", "childParamsGroups": [ { - "type": "string", - "name": "organization_url", - "isRequired": true + "name": "active_lock_reason" }, { - "type": "string", - "name": "role", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, + "name": "assignee", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "assignees", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "body", + "description": "Contents of the issue" + }, + { + "name": "closed_at" + }, + { + "name": "comments" + }, + { + "name": "comments_url" + }, + { + "name": "created_at" + }, + { + "name": "draft" + }, + { + "name": "events_url" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels", + "childParamsGroups": [ + { + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color" + }, + { + "name": "default" + }, + { + "name": "description" + }, + { + "name": "id" + }, + { + "name": "name", + "description": "The name of the label." + }, + { + "name": "node_id" + }, + { + "name": "url", + "description": "URL for the label" + } + ] + }, + { + "name": "labels_url" + }, + { + "name": "locked" + }, + { + "name": "milestone", + "description": "A collection of related issues and pull requests.", + "childParamsGroups": [ + { + "name": "closed_at" + }, + { + "name": "closed_issues" + }, + { + "name": "created_at" + }, + { + "name": "creator", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } ] }, { - "type": "string", + "name": "description" + }, + { + "name": "due_on" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels_url" + }, + { + "name": "node_id" + }, + { + "name": "number", + "description": "The number of the milestone." + }, + { + "name": "open_issues" + }, + { + "name": "state", + "description": "The state of the milestone." + }, + { + "name": "title", + "description": "The title of the milestone." + }, + { + "name": "updated_at" + }, + { + "name": "url" + } + ] + }, + { + "name": "node_id" + }, + { + "name": "number" + }, + { + "name": "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.", + "childParamsGroups": [ + { + "name": "created_at" + }, + { + "name": "description" + }, + { + "name": "events", + "description": "The list of events for the GitHub app" + }, + { + "name": "external_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the GitHub app" + }, + { + "name": "name", + "description": "The name of the GitHub app" + }, + { + "name": "node_id" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "description": "The set of permissions for the GitHub app", + "childParamsGroups": [ + { + "name": "actions" + }, + { + "name": "administration" + }, + { + "name": "checks" + }, + { + "name": "content_references" + }, + { + "name": "contents" + }, + { + "name": "deployments" + }, + { + "name": "discussions" + }, + { + "name": "emails" + }, + { + "name": "environments" + }, + { + "name": "issues" + }, + { + "name": "keys" + }, + { + "name": "members" + }, + { + "name": "metadata" + }, + { + "name": "organization_administration" + }, + { + "name": "organization_hooks" + }, + { + "name": "organization_packages" + }, + { + "name": "organization_plan" + }, + { + "name": "organization_projects" + }, + { + "name": "organization_secrets" + }, + { + "name": "organization_self_hosted_runners" + }, + { + "name": "organization_user_blocking" + }, + { + "name": "packages" + }, + { + "name": "pages" + }, + { + "name": "pull_requests" + }, + { + "name": "repository_hooks" + }, + { + "name": "repository_projects" + }, + { + "name": "secret_scanning_alerts" + }, + { + "name": "secrets" + }, + { + "name": "security_events" + }, + { + "name": "security_scanning_alert" + }, + { + "name": "single_file" + }, + { + "name": "statuses" + }, + { + "name": "team_discussions" + }, + { + "name": "vulnerability_alerts" + }, + { + "name": "workflows" + } + ] + }, + { + "name": "slug", + "description": "The slug name of the GitHub app" + }, + { + "name": "updated_at" + } + ] + }, + { + "name": "pull_request", + "childParamsGroups": [ + { + "name": "diff_url" + }, + { + "name": "html_url" + }, + { + "name": "merged_at" + }, + { + "name": "patch_url" + }, + { + "name": "url" + } + ] + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "repository_url" + }, + { + "name": "state", + "description": "State of the issue; either 'open' or 'closed'" + }, + { + "name": "state_reason" + }, + { + "name": "timeline_url" + }, + { + "name": "title", + "description": "Title of the issue" + }, + { + "name": "updated_at" + }, + { + "name": "url", + "description": "URL for the issue" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { "name": "url" } ] @@ -12749,126 +6194,874 @@ ] }, { - "type": "object", - "name": "membership", - "in": "body", - "description": "The membership between the user and the organization. Not present when the action is `member_invited`.", - "isRequired": true, + "name": "issue", + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", "childParamsGroups": [ { - "type": "string", - "name": "organization_url", - "isRequired": true + "name": "active_lock_reason" }, { - "type": "string", - "name": "role", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, + "name": "assignee", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "assignees", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "body", + "description": "Contents of the issue" + }, + { + "name": "closed_at" + }, + { + "name": "comments" + }, + { + "name": "comments_url" + }, + { + "name": "created_at" + }, + { + "name": "draft" + }, + { + "name": "events_url" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels", + "childParamsGroups": [ + { + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color" + }, + { + "name": "default" + }, + { + "name": "description" + }, + { + "name": "id" + }, + { + "name": "name", + "description": "The name of the label." + }, + { + "name": "node_id" + }, + { + "name": "url", + "description": "URL for the label" + } + ] + }, + { + "name": "labels_url" + }, + { + "name": "locked" + }, + { + "name": "milestone", + "description": "A collection of related issues and pull requests.", + "childParamsGroups": [ + { + "name": "closed_at" + }, + { + "name": "closed_issues" + }, + { + "name": "created_at" + }, + { + "name": "creator", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } ] }, { - "type": "string", + "name": "description" + }, + { + "name": "due_on" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels_url" + }, + { + "name": "node_id" + }, + { + "name": "number", + "description": "The number of the milestone." + }, + { + "name": "open_issues" + }, + { + "name": "state", + "description": "The state of the milestone." + }, + { + "name": "title", + "description": "The title of the milestone." + }, + { + "name": "updated_at" + }, + { + "name": "url" + } + ] + }, + { + "name": "node_id" + }, + { + "name": "number" + }, + { + "name": "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.", + "childParamsGroups": [ + { + "name": "created_at" + }, + { + "name": "description" + }, + { + "name": "events", + "description": "The list of events for the GitHub app" + }, + { + "name": "external_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the GitHub app" + }, + { + "name": "name", + "description": "The name of the GitHub app" + }, + { + "name": "node_id" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "description": "The set of permissions for the GitHub app", + "childParamsGroups": [ + { + "name": "actions" + }, + { + "name": "administration" + }, + { + "name": "checks" + }, + { + "name": "content_references" + }, + { + "name": "contents" + }, + { + "name": "deployments" + }, + { + "name": "discussions" + }, + { + "name": "emails" + }, + { + "name": "environments" + }, + { + "name": "issues" + }, + { + "name": "keys" + }, + { + "name": "members" + }, + { + "name": "metadata" + }, + { + "name": "organization_administration" + }, + { + "name": "organization_hooks" + }, + { + "name": "organization_packages" + }, + { + "name": "organization_plan" + }, + { + "name": "organization_projects" + }, + { + "name": "organization_secrets" + }, + { + "name": "organization_self_hosted_runners" + }, + { + "name": "organization_user_blocking" + }, + { + "name": "packages" + }, + { + "name": "pages" + }, + { + "name": "pull_requests" + }, + { + "name": "repository_hooks" + }, + { + "name": "repository_projects" + }, + { + "name": "secret_scanning_alerts" + }, + { + "name": "secrets" + }, + { + "name": "security_events" + }, + { + "name": "security_scanning_alert" + }, + { + "name": "single_file" + }, + { + "name": "statuses" + }, + { + "name": "team_discussions" + }, + { + "name": "vulnerability_alerts" + }, + { + "name": "workflows" + } + ] + }, + { + "name": "slug", + "description": "The slug name of the GitHub app" + }, + { + "name": "updated_at" + } + ] + }, + { + "name": "pull_request", + "childParamsGroups": [ + { + "name": "diff_url" + }, + { + "name": "html_url" + }, + { + "name": "merged_at" + }, + { + "name": "patch_url" + }, + { + "name": "url" + } + ] + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "repository_url" + }, + { + "name": "state", + "description": "State of the issue; either 'open' or 'closed'" + }, + { + "name": "state_reason" + }, + { + "name": "timeline_url" + }, + { + "name": "title", + "description": "Title of the issue" + }, + { + "name": "updated_at" + }, + { + "name": "url", + "description": "URL for the issue" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "active_lock_reason" + }, + { + "name": "assignee" + }, + { + "name": "assignees" + }, + { + "name": "author_association" + }, + { + "name": "body" + }, + { + "name": "closed_at" + }, + { + "name": "comments" + }, + { + "name": "comments_url" + }, + { + "name": "created_at" + }, + { + "name": "events_url" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels" + }, + { + "name": "labels_url" + }, + { + "name": "locked" + }, + { + "name": "milestone" + }, + { + "name": "node_id" + }, + { + "name": "number" + }, + { + "name": "performed_via_github_app" + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "repository_url" + }, + { + "name": "state" + }, + { + "name": "timeline_url" + }, + { + "name": "title" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { "name": "url" } ] @@ -12876,831 +7069,1631 @@ ] }, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "renamed" + "name": "issue", + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "childParamsGroups": [ + { + "name": "active_lock_reason" + }, + { + "name": "assignee", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "assignees", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "body", + "description": "Contents of the issue" + }, + { + "name": "closed_at" + }, + { + "name": "comments" + }, + { + "name": "comments_url" + }, + { + "name": "created_at" + }, + { + "name": "draft" + }, + { + "name": "events_url" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels", + "childParamsGroups": [ + { + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color" + }, + { + "name": "default" + }, + { + "name": "description" + }, + { + "name": "id" + }, + { + "name": "name", + "description": "The name of the label." + }, + { + "name": "node_id" + }, + { + "name": "url", + "description": "URL for the label" + } + ] + }, + { + "name": "labels_url" + }, + { + "name": "locked" + }, + { + "name": "milestone", + "description": "A collection of related issues and pull requests.", + "childParamsGroups": [ + { + "name": "closed_at" + }, + { + "name": "closed_issues" + }, + { + "name": "created_at" + }, + { + "name": "creator", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "description" + }, + { + "name": "due_on" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels_url" + }, + { + "name": "node_id" + }, + { + "name": "number", + "description": "The number of the milestone." + }, + { + "name": "open_issues" + }, + { + "name": "state", + "description": "The state of the milestone." + }, + { + "name": "title", + "description": "The title of the milestone." + }, + { + "name": "updated_at" + }, + { + "name": "url" + } + ] + }, + { + "name": "node_id" + }, + { + "name": "number" + }, + { + "name": "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.", + "childParamsGroups": [ + { + "name": "created_at" + }, + { + "name": "description" + }, + { + "name": "events", + "description": "The list of events for the GitHub app" + }, + { + "name": "external_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the GitHub app" + }, + { + "name": "name", + "description": "The name of the GitHub app" + }, + { + "name": "node_id" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "description": "The set of permissions for the GitHub app", + "childParamsGroups": [ + { + "name": "actions" + }, + { + "name": "administration" + }, + { + "name": "checks" + }, + { + "name": "content_references" + }, + { + "name": "contents" + }, + { + "name": "deployments" + }, + { + "name": "discussions" + }, + { + "name": "emails" + }, + { + "name": "environments" + }, + { + "name": "issues" + }, + { + "name": "keys" + }, + { + "name": "members" + }, + { + "name": "metadata" + }, + { + "name": "organization_administration" + }, + { + "name": "organization_hooks" + }, + { + "name": "organization_packages" + }, + { + "name": "organization_plan" + }, + { + "name": "organization_projects" + }, + { + "name": "organization_secrets" + }, + { + "name": "organization_self_hosted_runners" + }, + { + "name": "organization_user_blocking" + }, + { + "name": "packages" + }, + { + "name": "pages" + }, + { + "name": "pull_requests" + }, + { + "name": "repository_hooks" + }, + { + "name": "repository_projects" + }, + { + "name": "secret_scanning_alerts" + }, + { + "name": "secrets" + }, + { + "name": "security_events" + }, + { + "name": "security_scanning_alert" + }, + { + "name": "single_file" + }, + { + "name": "statuses" + }, + { + "name": "team_discussions" + }, + { + "name": "vulnerability_alerts" + }, + { + "name": "workflows" + } + ] + }, + { + "name": "slug", + "description": "The slug name of the GitHub app" + }, + { + "name": "updated_at" + } + ] + }, + { + "name": "pull_request", + "childParamsGroups": [ + { + "name": "diff_url" + }, + { + "name": "html_url" + }, + { + "name": "merged_at" + }, + { + "name": "patch_url" + }, + { + "name": "url" + } + ] + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "repository_url" + }, + { + "name": "state", + "description": "State of the issue; either 'open' or 'closed'" + }, + { + "name": "state_reason" + }, + { + "name": "timeline_url" + }, + { + "name": "title", + "description": "Title of the issue" + }, + { + "name": "updated_at" + }, + { + "name": "url", + "description": "URL for the issue" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "active_lock_reason" + }, + { + "name": "assignee" + }, + { + "name": "assignees" + }, + { + "name": "author_association" + }, + { + "name": "body" + }, + { + "name": "closed_at" + }, + { + "name": "comments" + }, + { + "name": "comments_url" + }, + { + "name": "created_at" + }, + { + "name": "events_url" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels" + }, + { + "name": "labels_url" + }, + { + "name": "locked" + }, + { + "name": "milestone", + "description": "A collection of related issues and pull requests.", + "childParamsGroups": [ + { + "name": "closed_at" + }, + { + "name": "closed_issues" + }, + { + "name": "created_at" + }, + { + "name": "creator", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "description" + }, + { + "name": "due_on" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels_url" + }, + { + "name": "node_id" + }, + { + "name": "number", + "description": "The number of the milestone." + }, + { + "name": "open_issues" + }, + { + "name": "state", + "description": "The state of the milestone." + }, + { + "name": "title", + "description": "The title of the milestone." + }, + { + "name": "updated_at" + }, + { + "name": "url" + } + ] + }, + { + "name": "node_id" + }, + { + "name": "number" + }, + { + "name": "performed_via_github_app" + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "repository_url" + }, + { + "name": "state" + }, + { + "name": "timeline_url" + }, + { + "name": "title" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } ] }, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "published" + "name": "milestone", + "description": "A collection of related issues and pull requests.", + "childParamsGroups": [ + { + "name": "closed_at" + }, + { + "name": "closed_issues" + }, + { + "name": "created_at" + }, + { + "name": "creator", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "description" + }, + { + "name": "due_on" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels_url" + }, + { + "name": "node_id" + }, + { + "name": "number", + "description": "The number of the milestone." + }, + { + "name": "open_issues" + }, + { + "name": "state", + "description": "The state of the milestone." + }, + { + "name": "title", + "description": "The title of the milestone." + }, + { + "name": "updated_at" + }, + { + "name": "url" + } ] }, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "updated" + "name": "changes", + "childParamsGroups": [ + { + "name": "note", + "childParamsGroups": [ + { + "name": "from" + } + ] + } ] }, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "converted" - ] - }, - { - "type": "object", "name": "project_card", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "integer or null", "name": "after_id" }, { - "type": "boolean", "name": "archived", - "description": "Whether or not the card is archived", - "isRequired": true + "description": "Whether or not the card is archived" }, { - "type": "integer", - "name": "column_id", - "isRequired": true + "name": "column_id" }, { - "type": "string", - "name": "column_url", - "isRequired": true + "name": "column_url" }, { - "type": "string", "name": "content_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "object or null", "name": "creator", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "integer", "name": "id", - "description": "The project card's ID", - "isRequired": true + "description": "The project card's ID" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string or null", - "name": "note", - "isRequired": true + "name": "note" }, { - "type": "string", - "name": "project_url", - "isRequired": true + "name": "project_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "moved" - ] - }, - { - "type": "object", "name": "project", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "body", - "description": "Body of the project", - "isRequired": true + "description": "Body of the project" }, { - "type": "string", - "name": "columns_url", - "isRequired": true + "name": "columns_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "object or null", "name": "creator", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", "name": "name", - "description": "Name of the project", - "isRequired": true + "description": "Name of the project" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", - "name": "number", - "isRequired": true + "name": "number" }, { - "type": "string", - "name": "owner_url", - "isRequired": true + "name": "owner_url" }, { - "type": "string", "name": "state", - "description": "State of the project; either 'open' or 'closed'", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "description": "State of the project; either 'open' or 'closed'" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "object", "name": "project_column", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "integer or null", "name": "after_id" }, { - "type": "string", - "name": "cards_url", - "isRequired": true + "name": "cards_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "integer", "name": "id", - "description": "The unique identifier of the project column", - "isRequired": true + "description": "The unique identifier of the project column" }, { - "type": "string", "name": "name", - "description": "Name of the project column", - "isRequired": true + "description": "Name of the project column" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "project_url", - "isRequired": true + "name": "project_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "object", "name": "projects_v2", - "in": "body", "description": "A projects v2 project", - "isRequired": true, "childParamsGroups": [ { - "type": "number", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "object", "name": "owner", "description": "A GitHub user.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "name" }, { - "type": "string or null", "name": "email" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", "name": "starred_at" } ] }, { - "type": "object", "name": "creator", "description": "A GitHub user.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "name" }, { - "type": "string or null", "name": "email" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", "name": "starred_at" } ] }, { - "type": "string", - "name": "title", - "isRequired": true + "name": "title" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", - "name": "public", - "isRequired": true + "name": "public" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "integer", - "name": "number", - "isRequired": true + "name": "number" }, { - "type": "string or null", - "name": "short_description", - "isRequired": true + "name": "short_description" }, { - "type": "string or null", - "name": "deleted_at", - "isRequired": true + "name": "deleted_at" }, { - "type": "object or null", "name": "deleted_by", "description": "A GitHub user.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "name" }, { - "type": "string or null", "name": "email" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", "name": "starred_at" } ] @@ -13708,30 +8701,15 @@ ] }, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "archived" - ] - }, - { - "type": "object", "name": "changes", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "archived_at", "childParamsGroups": [ { - "type": "string or null", "name": "from" }, { - "type": "string or null", "name": "to" } ] @@ -13739,1438 +8717,907 @@ ] }, { - "type": "object", "name": "projects_v2_item", - "in": "body", "description": "An item belonging to a project", - "isRequired": true, "childParamsGroups": [ { - "type": "number", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "project_node_id" }, { - "type": "string", - "name": "content_node_id", - "isRequired": true + "name": "content_node_id" }, { - "type": "string", "name": "content_type", - "description": "The type of content tracked in a project item", - "isRequired": true, - "enum": [ - "Issue", - "PullRequest", - "DraftIssue" - ] + "description": "The type of content tracked in a project item" }, { - "type": "object", "name": "creator", "description": "A GitHub user.", "childParamsGroups": [ { - "type": "string or null", "name": "name" }, { - "type": "string or null", "name": "email" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", "name": "starred_at" } ] }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string or null", - "name": "archived_at", - "isRequired": true + "name": "archived_at" } ] }, { - "type": "integer", "name": "number", - "in": "body", - "description": "The pull request number.", - "isRequired": true + "description": "The pull request number." }, { - "type": "integer", - "name": "number", - "in": "body", - "isRequired": true - }, - { - "type": "string", - "name": "reason", - "in": "body", - "isRequired": true - }, - { - "type": "object", "name": "pull_request", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "_links", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "comments", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "commits", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "html", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "issue", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "review_comment", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "review_comments", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "self", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "statuses", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] } ] }, { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] + "name": "active_lock_reason" }, { - "type": "integer", "name": "additions" }, { - "type": "object or null", "name": "assignee", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "array of objects", "name": "assignees", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] + "description": "How the author is associated with the repository." }, { - "type": "object or null", "name": "auto_merge", "description": "The status of auto merging a pull request.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true + "description": "Commit message for the merge commit." }, { - "type": "string or null", "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true + "description": "Title for the merge commit message." }, { - "type": "object or null", "name": "enabled_by", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] + "description": "The merge method to use." } ] }, { - "type": "object", "name": "base", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "label", - "isRequired": true + "name": "label" }, { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object", "name": "repo", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "boolean", "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false + "description": "Whether discussions are enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "string", "name": "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" - ] + "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)." }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "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": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -15178,843 +9625,533 @@ ] }, { - "type": "string or null", - "name": "body", - "isRequired": true + "name": "body" }, { - "type": "integer", "name": "changed_files" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", "name": "comments" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "integer", "name": "commits" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "integer", "name": "deletions" }, { - "type": "string", - "name": "diff_url", - "isRequired": true + "name": "diff_url" }, { - "type": "boolean", "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true + "description": "Indicates whether or not the pull request is a draft." }, { - "type": "object", "name": "head", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "label", - "isRequired": true + "name": "label" }, { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object", "name": "repo", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "boolean", "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false + "description": "Whether discussions are enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "string", "name": "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" - ] + "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)." }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "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": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -16022,686 +10159,450 @@ ] }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "issue_url", - "isRequired": true + "name": "issue_url" }, { - "type": "array of objects", "name": "labels", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true + "description": "6-character hex code, without the leading #, identifying the color" }, { - "type": "boolean", - "name": "default", - "isRequired": true + "name": "default" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", "name": "name", - "description": "The name of the label.", - "isRequired": true + "description": "The name of the label." }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "url", - "description": "URL for the label", - "isRequired": true + "description": "URL for the label" } ] }, { - "type": "boolean", - "name": "locked", - "isRequired": true + "name": "locked" }, { - "type": "boolean", "name": "maintainer_can_modify", "description": "Indicates whether maintainers can modify the pull request." }, { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true + "name": "merge_commit_sha" }, { - "type": "boolean or null", "name": "mergeable" }, { - "type": "string", "name": "mergeable_state" }, { - "type": "boolean or null", "name": "merged" }, { - "type": "string or null", - "name": "merged_at", - "isRequired": true + "name": "merged_at" }, { - "type": "object or null", "name": "merged_by", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object or null", "name": "milestone", "description": "A collection of related issues and pull requests.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", - "name": "closed_issues", - "isRequired": true + "name": "closed_issues" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "object or null", "name": "creator", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string or null", - "name": "due_on", - "isRequired": true + "name": "due_on" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", "name": "number", - "description": "The number of the milestone.", - "isRequired": true + "description": "The number of the milestone." }, { - "type": "integer", - "name": "open_issues", - "isRequired": true + "name": "open_issues" }, { - "type": "string", "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "description": "The state of the milestone." }, { - "type": "string", "name": "title", - "description": "The title of the milestone.", - "isRequired": true + "description": "The title of the milestone." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true + "description": "Number uniquely identifying the pull request within its repository." }, { - "type": "string", - "name": "patch_url", - "isRequired": true + "name": "patch_url" }, { - "type": "boolean or null", "name": "rebaseable" }, { - "type": "array", - "name": "requested_reviewers", - "isRequired": true + "name": "requested_reviewers" }, { - "type": "array of objects", "name": "requested_teams", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "description", "description": "Description of the team" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the team", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", "name": "members_url" }, { - "type": "string", "name": "name", - "description": "Name of the team", - "isRequired": true + "description": "Name of the team" }, { - "type": "string", "name": "node_id" }, { - "type": "object or null", "name": "parent", "childParamsGroups": [ { - "type": "string or null", "name": "description", - "description": "Description of the team", - "isRequired": true + "description": "Description of the team" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the team", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", - "name": "members_url", - "isRequired": true + "name": "members_url" }, { - "type": "string", "name": "name", - "description": "Name of the team", - "isRequired": true + "description": "Name of the team" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true + "description": "Permission that the team will have for its repositories" }, { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] + "name": "privacy" }, { - "type": "string", - "name": "repositories_url", - "isRequired": true + "name": "repositories_url" }, { - "type": "string", - "name": "slug", - "isRequired": true + "name": "slug" }, { - "type": "string", "name": "url", - "description": "URL for the team", - "isRequired": true + "description": "URL for the team" } ] }, { - "type": "string", "name": "permission", "description": "Permission that the team will have for its repositories" }, { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] + "name": "privacy" }, { - "type": "string", "name": "repositories_url" }, { - "type": "string", "name": "slug" }, { - "type": "string", "name": "url", "description": "URL for the team" } ] }, { - "type": "string", - "name": "review_comment_url", - "isRequired": true + "name": "review_comment_url" }, { - "type": "integer", "name": "review_comments" }, { - "type": "string", - "name": "review_comments_url", - "isRequired": true + "name": "review_comments_url" }, { - "type": "string", "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "description": "State of this Pull Request. Either `open` or `closed`." }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", "name": "title", - "description": "The title of the pull request.", - "isRequired": true + "description": "The title of the pull request." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -16709,1460 +10610,932 @@ ] }, { - "type": "object", + "name": "number" + }, + { + "name": "reason" + }, + { "name": "milestone", - "in": "body", "description": "A collection of related issues and pull requests.", "childParamsGroups": [ { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", "name": "number", - "description": "The number of the milestone.", - "isRequired": true + "description": "The number of the milestone." }, { - "type": "string", "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ], - "default": "open" + "description": "The state of the milestone." }, { - "type": "string", "name": "title", - "description": "The title of the milestone.", - "isRequired": true + "description": "The title of the milestone." }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "object or null", "name": "creator", "description": "A GitHub user.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "name" }, { - "type": "string or null", "name": "email" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", "name": "starred_at" } ] }, { - "type": "integer", - "name": "open_issues", - "isRequired": true + "name": "open_issues" }, { - "type": "integer", - "name": "closed_issues", - "isRequired": true + "name": "closed_issues" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "string or null", - "name": "due_on", - "isRequired": true + "name": "due_on" } ] }, { - "type": "object", "name": "pull_request", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "_links", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "comments", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "commits", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "html", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "issue", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "review_comment", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "review_comments", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "self", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "statuses", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] } ] }, { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] + "name": "active_lock_reason" }, { - "type": "integer", "name": "additions" }, { - "type": "object or null", "name": "assignee", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "array of objects", "name": "assignees", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] + "description": "How the author is associated with the repository." }, { - "type": "object or null", "name": "auto_merge", "description": "The status of auto merging a pull request.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true + "description": "Commit message for the merge commit." }, { - "type": "string or null", "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true + "description": "Title for the merge commit message." }, { - "type": "object or null", "name": "enabled_by", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] + "description": "The merge method to use." } ] }, { - "type": "object", "name": "base", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "label", - "isRequired": true + "name": "label" }, { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object", "name": "repo", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "boolean", "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false + "description": "Whether discussions are enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "string", "name": "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" - ] + "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)." }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default.", - "default": false + "description": "Whether a squash merge commit can use the pull request title as default." }, { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -18170,843 +11543,533 @@ ] }, { - "type": "string or null", - "name": "body", - "isRequired": true + "name": "body" }, { - "type": "integer", "name": "changed_files" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", "name": "comments" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "integer", "name": "commits" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "integer", "name": "deletions" }, { - "type": "string", - "name": "diff_url", - "isRequired": true + "name": "diff_url" }, { - "type": "boolean", "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true + "description": "Indicates whether or not the pull request is a draft." }, { - "type": "object", "name": "head", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "label", - "isRequired": true + "name": "label" }, { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object", "name": "repo", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "boolean", "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false + "description": "Whether discussions are enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "string", "name": "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" - ] + "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)." }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default.", - "default": false + "description": "Whether a squash merge commit can use the pull request title as default." }, { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -19014,687 +12077,450 @@ ] }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "issue_url", - "isRequired": true + "name": "issue_url" }, { - "type": "array of objects", "name": "labels", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true + "description": "6-character hex code, without the leading #, identifying the color" }, { - "type": "boolean", - "name": "default", - "isRequired": true + "name": "default" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", "name": "name", - "description": "The name of the label.", - "isRequired": true + "description": "The name of the label." }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "url", - "description": "URL for the label", - "isRequired": true + "description": "URL for the label" } ] }, { - "type": "boolean", - "name": "locked", - "isRequired": true + "name": "locked" }, { - "type": "boolean", "name": "maintainer_can_modify", "description": "Indicates whether maintainers can modify the pull request." }, { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true + "name": "merge_commit_sha" }, { - "type": "boolean or null", "name": "mergeable" }, { - "type": "string", "name": "mergeable_state" }, { - "type": "boolean or null", "name": "merged" }, { - "type": "string or null", - "name": "merged_at", - "isRequired": true + "name": "merged_at" }, { - "type": "object or null", "name": "merged_by", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object or null", "name": "milestone", "description": "A collection of related issues and pull requests.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", - "name": "closed_issues", - "isRequired": true + "name": "closed_issues" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "object or null", "name": "creator", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string or null", - "name": "due_on", - "isRequired": true + "name": "due_on" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", "name": "number", - "description": "The number of the milestone.", - "isRequired": true + "description": "The number of the milestone." }, { - "type": "integer", - "name": "open_issues", - "isRequired": true + "name": "open_issues" }, { - "type": "string", "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "description": "The state of the milestone." }, { - "type": "string", "name": "title", - "description": "The title of the milestone.", - "isRequired": true + "description": "The title of the milestone." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true + "description": "Number uniquely identifying the pull request within its repository." }, { - "type": "string", - "name": "patch_url", - "isRequired": true + "name": "patch_url" }, { - "type": "boolean or null", "name": "rebaseable" }, { - "type": "array", - "name": "requested_reviewers", - "isRequired": true + "name": "requested_reviewers" }, { - "type": "array of objects", "name": "requested_teams", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "description", "description": "Description of the team" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the team", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", "name": "members_url" }, { - "type": "string", "name": "name", - "description": "Name of the team", - "isRequired": true + "description": "Name of the team" }, { - "type": "string", "name": "node_id" }, { - "type": "object or null", "name": "parent", "childParamsGroups": [ { - "type": "string or null", "name": "description", - "description": "Description of the team", - "isRequired": true + "description": "Description of the team" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the team", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", - "name": "members_url", - "isRequired": true + "name": "members_url" }, { - "type": "string", "name": "name", - "description": "Name of the team", - "isRequired": true + "description": "Name of the team" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true + "description": "Permission that the team will have for its repositories" }, { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] + "name": "privacy" }, { - "type": "string", - "name": "repositories_url", - "isRequired": true + "name": "repositories_url" }, { - "type": "string", - "name": "slug", - "isRequired": true + "name": "slug" }, { - "type": "string", "name": "url", - "description": "URL for the team", - "isRequired": true + "description": "URL for the team" } ] }, { - "type": "string", "name": "permission", "description": "Permission that the team will have for its repositories" }, { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] + "name": "privacy" }, { - "type": "string", "name": "repositories_url" }, { - "type": "string", "name": "slug" }, { - "type": "string", "name": "url", "description": "URL for the team" } ] }, { - "type": "string", - "name": "review_comment_url", - "isRequired": true + "name": "review_comment_url" }, { - "type": "integer", "name": "review_comments" }, { - "type": "string", - "name": "review_comments_url", - "isRequired": true + "name": "review_comments_url" }, { - "type": "string", "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "description": "State of this Pull Request. Either `open` or `closed`." }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", "name": "title", - "description": "The title of the pull request.", - "isRequired": true + "description": "The title of the pull request." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -19702,2791 +12528,1946 @@ ] }, { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, + "name": "requested_reviewer", "childParamsGroups": [ { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] + "name": "avatar_url" }, { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] + "name": "deleted" }, { - "type": "integer", - "name": "additions" + "name": "email" }, { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] + "name": "events_url" }, { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] + "name": "followers_url" }, { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] + "name": "following_url" }, { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] + "name": "gists_url" }, { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] + "name": "gravatar_id" }, { - "type": "string or null", - "name": "body", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "changed_files" + "name": "id" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "comments" + "name": "name" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "node_id" }, { - "type": "integer", - "name": "commits" + "name": "organizations_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "repos_url" }, { - "type": "integer", - "name": "deletions" + "name": "site_admin" }, { - "type": "string", - "name": "diff_url", - "isRequired": true + "name": "starred_url" }, { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] + "name": "type" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "url" + } + ] + }, + { + "name": "requested_team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "childParamsGroups": [ + { + "name": "deleted" + }, + { + "name": "description", + "description": "Description of the team" + }, + { + "name": "html_url" }, { - "type": "integer", "name": "id", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", - "name": "issue_url", - "isRequired": true + "name": "members_url" }, { - "type": "array of objects", - "name": "labels", - "isRequired": true, + "name": "name", + "description": "Name of the team" + }, + { + "name": "node_id" + }, + { + "name": "parent", "childParamsGroups": [ { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request." - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable" - }, - { - "type": "string", - "name": "mergeable_state" - }, - { - "type": "boolean or null", - "name": "merged" - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable" - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", "name": "description", "description": "Description of the team" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the team", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", "name": "members_url" }, { - "type": "string", "name": "name", - "description": "Name of the team", - "isRequired": true + "description": "Name of the team" }, { - "type": "string", "name": "node_id" }, { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", "name": "permission", "description": "Permission that the team will have for its repositories" }, { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] + "name": "privacy" }, { - "type": "string", "name": "repositories_url" }, { - "type": "string", "name": "slug" }, { - "type": "string", "name": "url", "description": "URL for the team" } ] }, { - "type": "string", - "name": "review_comment_url", - "isRequired": true + "name": "permission", + "description": "Permission that the team will have for its repositories" }, { - "type": "integer", - "name": "review_comments" + "name": "privacy" }, { - "type": "string", - "name": "review_comments_url", - "isRequired": true + "name": "repositories_url" }, { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "name": "slug" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "description": "The title of the pull request.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", "name": "url", - "isRequired": true - }, + "description": "URL for the team" + } + ] + }, + { + "name": "pull_request", + "childParamsGroups": [ { - "type": "object or null", - "name": "user", - "isRequired": true, + "name": "_links", "childParamsGroups": [ { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" + "name": "comments", + "childParamsGroups": [ + { + "name": "href" + } ] }, { - "type": "string", + "name": "commits", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "html", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "issue", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "review_comment", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "review_comments", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "self", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "statuses", + "childParamsGroups": [ + { + "name": "href" + } + ] + } + ] + }, + { + "name": "active_lock_reason" + }, + { + "name": "additions" + }, + { + "name": "assignee", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "assignees", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "auto_merge", + "description": "The status of auto merging a pull request.", + "childParamsGroups": [ + { + "name": "commit_message", + "description": "Commit message for the merge commit." + }, + { + "name": "commit_title", + "description": "Title for the merge commit message." + }, + { + "name": "enabled_by", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "merge_method", + "description": "The merge method to use." + } + ] + }, + { + "name": "base", + "childParamsGroups": [ + { + "name": "label" + }, + { + "name": "ref" + }, + { + "name": "repo", + "description": "A git repository", + "childParamsGroups": [ + { + "name": "allow_auto_merge", + "description": "Whether to allow auto-merge for pull requests." + }, + { + "name": "allow_forking", + "description": "Whether to allow private forks" + }, + { + "name": "allow_merge_commit", + "description": "Whether to allow merge commits for pull requests." + }, + { + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests." + }, + { + "name": "allow_squash_merge", + "description": "Whether to allow squash merges for pull requests." + }, + { + "name": "allow_update_branch" + }, + { + "name": "archive_url" + }, + { + "name": "archived", + "description": "Whether the repository is archived." + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "clone_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "created_at", + "description": "" + }, + { + "name": "default_branch", + "description": "The default branch of the repository." + }, + { + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "disabled", + "description": "Returns whether or not this repository is disabled." + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks" + }, + { + "name": "forks_count" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "git_url" + }, + { + "name": "has_downloads", + "description": "Whether downloads are enabled." + }, + { + "name": "has_issues", + "description": "Whether issues are enabled." + }, + { + "name": "has_pages" + }, + { + "name": "has_projects", + "description": "Whether projects are enabled." + }, + { + "name": "has_wiki", + "description": "Whether the wiki is enabled." + }, + { + "name": "has_discussions", + "description": "Whether discussions are enabled." + }, + { + "name": "homepage" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the repository" + }, + { + "name": "is_template" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "language" + }, + { + "name": "languages_url" + }, + { + "name": "license", + "childParamsGroups": [ + { + "name": "key" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "childParamsGroups": [ + { + "name": "admin" + }, + { + "name": "maintain" + }, + { + "name": "pull" + }, + { + "name": "push" + }, + { + "name": "triage" + } + ] + }, + { + "name": "private", + "description": "Whether the repository is private or public." + }, + { + "name": "public" + }, + { + "name": "pulls_url" + }, + { + "name": "pushed_at", + "description": "" + }, + { + "name": "releases_url" + }, + { + "name": "role_name" + }, + { + "name": "size" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "ssh_url" + }, + { + "name": "stargazers" + }, + { + "name": "stargazers_count" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "svn_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "topics" + }, + { + "name": "trees_url" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "use_squash_pr_title_as_default", + "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead." + }, + { + "name": "visibility" + }, + { + "name": "watchers" + }, + { + "name": "watchers_count" + }, + { + "name": "web_commit_signoff_required", + "description": "Whether to require contributors to sign off on web-based commits" + } + ] + }, + { + "name": "sha" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "body" + }, + { + "name": "changed_files" + }, + { + "name": "closed_at" + }, + { + "name": "comments" + }, + { + "name": "comments_url" + }, + { + "name": "commits" + }, + { + "name": "commits_url" + }, + { + "name": "created_at" + }, + { + "name": "deletions" + }, + { + "name": "diff_url" + }, + { + "name": "draft", + "description": "Indicates whether or not the pull request is a draft." + }, + { + "name": "head", + "childParamsGroups": [ + { + "name": "label" + }, + { + "name": "ref" + }, + { + "name": "repo", + "description": "A git repository", + "childParamsGroups": [ + { + "name": "allow_auto_merge", + "description": "Whether to allow auto-merge for pull requests." + }, + { + "name": "allow_forking", + "description": "Whether to allow private forks" + }, + { + "name": "allow_merge_commit", + "description": "Whether to allow merge commits for pull requests." + }, + { + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests." + }, + { + "name": "allow_squash_merge", + "description": "Whether to allow squash merges for pull requests." + }, + { + "name": "allow_update_branch" + }, + { + "name": "archive_url" + }, + { + "name": "archived", + "description": "Whether the repository is archived." + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "clone_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "created_at", + "description": "" + }, + { + "name": "default_branch", + "description": "The default branch of the repository." + }, + { + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "disabled", + "description": "Returns whether or not this repository is disabled." + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks" + }, + { + "name": "forks_count" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "git_url" + }, + { + "name": "has_downloads", + "description": "Whether downloads are enabled." + }, + { + "name": "has_issues", + "description": "Whether issues are enabled." + }, + { + "name": "has_pages" + }, + { + "name": "has_projects", + "description": "Whether projects are enabled." + }, + { + "name": "has_wiki", + "description": "Whether the wiki is enabled." + }, + { + "name": "has_discussions", + "description": "Whether discussions are enabled." + }, + { + "name": "homepage" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the repository" + }, + { + "name": "is_template" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "language" + }, + { + "name": "languages_url" + }, + { + "name": "license", + "childParamsGroups": [ + { + "name": "key" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "merge_commit_message", + "description": "The default value for a merge commit message." + }, + { + "name": "merge_commit_title", + "description": "The default value for a merge commit message title." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "childParamsGroups": [ + { + "name": "admin" + }, + { + "name": "maintain" + }, + { + "name": "pull" + }, + { + "name": "push" + }, + { + "name": "triage" + } + ] + }, + { + "name": "private", + "description": "Whether the repository is private or public." + }, + { + "name": "public" + }, + { + "name": "pulls_url" + }, + { + "name": "pushed_at", + "description": "" + }, + { + "name": "releases_url" + }, + { + "name": "role_name" + }, + { + "name": "size" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "ssh_url" + }, + { + "name": "stargazers" + }, + { + "name": "stargazers_count" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "svn_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "topics" + }, + { + "name": "trees_url" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "use_squash_pr_title_as_default", + "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead." + }, + { + "name": "visibility" + }, + { + "name": "watchers" + }, + { + "name": "watchers_count" + }, + { + "name": "web_commit_signoff_required", + "description": "Whether to require contributors to sign off on web-based commits" + } + ] + }, + { + "name": "sha" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "issue_url" + }, + { + "name": "labels", + "childParamsGroups": [ + { + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color" + }, + { + "name": "default" + }, + { + "name": "description" + }, + { + "name": "id" + }, + { + "name": "name", + "description": "The name of the label." + }, + { + "name": "node_id" + }, + { + "name": "url", + "description": "URL for the label" + } + ] + }, + { + "name": "locked" + }, + { + "name": "maintainer_can_modify", + "description": "Indicates whether maintainers can modify the pull request." + }, + { + "name": "merge_commit_sha" + }, + { + "name": "mergeable" + }, + { + "name": "mergeable_state" + }, + { + "name": "merged" + }, + { + "name": "merged_at" + }, + { + "name": "merged_by", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "milestone", + "description": "A collection of related issues and pull requests.", + "childParamsGroups": [ + { + "name": "closed_at" + }, + { + "name": "closed_issues" + }, + { + "name": "created_at" + }, + { + "name": "creator", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "description" + }, + { + "name": "due_on" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels_url" + }, + { + "name": "node_id" + }, + { + "name": "number", + "description": "The number of the milestone." + }, + { + "name": "open_issues" + }, + { + "name": "state", + "description": "The state of the milestone." + }, + { + "name": "title", + "description": "The title of the milestone." + }, + { + "name": "updated_at" + }, + { + "name": "url" + } + ] + }, + { + "name": "node_id" + }, + { + "name": "number", + "description": "Number uniquely identifying the pull request within its repository." + }, + { + "name": "patch_url" + }, + { + "name": "rebaseable" + }, + { + "name": "requested_reviewers" + }, + { + "name": "requested_teams", + "childParamsGroups": [ + { + "name": "deleted" + }, + { + "name": "description", + "description": "Description of the team" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the team" + }, + { + "name": "members_url" + }, + { + "name": "name", + "description": "Name of the team" + }, + { + "name": "node_id" + }, + { + "name": "parent", + "childParamsGroups": [ + { + "name": "description", + "description": "Description of the team" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the team" + }, + { + "name": "members_url" + }, + { + "name": "name", + "description": "Name of the team" + }, + { + "name": "node_id" + }, + { + "name": "permission", + "description": "Permission that the team will have for its repositories" + }, + { + "name": "privacy" + }, + { + "name": "repositories_url" + }, + { + "name": "slug" + }, + { + "name": "url", + "description": "URL for the team" + } + ] + }, + { + "name": "permission", + "description": "Permission that the team will have for its repositories" + }, + { + "name": "privacy" + }, + { + "name": "repositories_url" + }, + { + "name": "slug" + }, + { + "name": "url", + "description": "URL for the team" + } + ] + }, + { + "name": "review_comment_url" + }, + { + "name": "review_comments" + }, + { + "name": "review_comments_url" + }, + { + "name": "state", + "description": "State of this Pull Request. Either `open` or `closed`." + }, + { + "name": "statuses_url" + }, + { + "name": "title", + "description": "The title of the pull request." + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { "name": "url" } ] @@ -22494,3714 +14475,5008 @@ ] }, { - "type": "object", "name": "comment", - "in": "body", "description": "The [comment](https://docs.github.com/rest/reference/pulls#comments) itself.", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "_links", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "html", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "pull_request", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "self", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] } ] }, { - "type": "string", "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] + "description": "How the author is associated with the repository." }, { - "type": "string", "name": "body", - "description": "The text of the comment.", - "isRequired": true + "description": "The text of the comment." }, { - "type": "string", "name": "commit_id", - "description": "The SHA of the commit to which the comment applies.", - "isRequired": true + "description": "The SHA of the commit to which the comment applies." }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string", "name": "diff_hunk", - "description": "The diff of the line that the comment refers to.", - "isRequired": true + "description": "The diff of the line that the comment refers to." }, { - "type": "string", "name": "html_url", - "description": "HTML URL for the pull request review comment.", - "isRequired": true + "description": "HTML URL for the pull request review comment." }, { - "type": "integer", "name": "id", - "description": "The ID of the pull request review comment.", - "isRequired": true + "description": "The ID of the pull request review comment." }, { - "type": "integer", "name": "in_reply_to_id", "description": "The comment ID to reply to." }, { - "type": "integer or null", "name": "line", - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "isRequired": true + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment" }, { - "type": "string", "name": "node_id", - "description": "The node ID of the pull request review comment.", - "isRequired": true + "description": "The node ID of the pull request review comment." }, { - "type": "string", "name": "original_commit_id", - "description": "The SHA of the original commit to which the comment applies.", - "isRequired": true + "description": "The SHA of the original commit to which the comment applies." }, { - "type": "integer", "name": "original_line", - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "isRequired": true + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment" }, { - "type": "integer", "name": "original_position", - "description": "The index of the original line in the diff to which the comment applies.", - "isRequired": true + "description": "The index of the original line in the diff to which the comment applies." }, { - "type": "integer or null", "name": "original_start_line", - "description": "The first line of the range for a multi-line comment.", - "isRequired": true + "description": "The first line of the range for a multi-line comment." }, { - "type": "string", "name": "path", - "description": "The relative path of the file to which the comment applies.", - "isRequired": true + "description": "The relative path of the file to which the comment applies." }, { - "type": "integer or null", "name": "position", - "description": "The line index in the diff to which the comment applies.", - "isRequired": true + "description": "The line index in the diff to which the comment applies." }, { - "type": "integer or null", "name": "pull_request_review_id", - "description": "The ID of the pull request review to which the comment belongs.", - "isRequired": true + "description": "The ID of the pull request review to which the comment belongs." }, { - "type": "string", "name": "pull_request_url", - "description": "URL for the pull request that the review comment belongs to.", - "isRequired": true + "description": "URL for the pull request that the review comment belongs to." }, { - "type": "object", "name": "reactions", - "isRequired": true, "childParamsGroups": [ { - "type": "integer", - "name": "+1", - "isRequired": true + "name": "+1" }, { - "type": "integer", - "name": "-1", - "isRequired": true + "name": "-1" }, { - "type": "integer", - "name": "confused", - "isRequired": true + "name": "confused" }, { - "type": "integer", - "name": "eyes", - "isRequired": true + "name": "eyes" }, { - "type": "integer", - "name": "heart", - "isRequired": true + "name": "heart" }, { - "type": "integer", - "name": "hooray", - "isRequired": true + "name": "hooray" }, { - "type": "integer", - "name": "laugh", - "isRequired": true + "name": "laugh" }, { - "type": "integer", - "name": "rocket", - "isRequired": true + "name": "rocket" }, { - "type": "integer", - "name": "total_count", - "isRequired": true + "name": "total_count" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", "name": "side", - "description": "The side of the first line of the range for a multi-line comment.", - "isRequired": true, - "enum": [ - "LEFT", - "RIGHT" - ] + "description": "The side of the first line of the range for a multi-line comment." }, { - "type": "integer or null", "name": "start_line", - "description": "The first line of the range for a multi-line comment.", - "isRequired": true + "description": "The first line of the range for a multi-line comment." }, { - "type": "string or null", "name": "start_side", - "description": "The side of the first line of the range for a multi-line comment.", - "isRequired": true, - "enum": [ - "LEFT", - "RIGHT", - null - ], - "default": "RIGHT" + "description": "The side of the first line of the range for a multi-line comment." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", "name": "url", - "description": "URL for the pull request review comment", - "isRequired": true + "description": "URL for the pull request review comment" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "object", - "name": "review", - "in": "body", - "description": "The review that was affected.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "description": "The text of the review.", - "isRequired": true - }, - { - "type": "string", - "name": "commit_id", - "description": "A commit SHA for the review.", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the review", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "pull_request_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true - }, - { - "type": "string or null", - "name": "submitted_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "resolved" - ] - }, - { - "type": "object", - "name": "release", - "in": "body", - "description": "The [release](https://docs.github.com/rest/reference/repos/#get-a-release) object.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "array of objects", - "name": "assets", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "browser_download_url", - "isRequired": true - }, - { - "type": "string", - "name": "content_type", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "integer", - "name": "download_count", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string or null", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The file name of the asset.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of the release asset.", - "isRequired": true, - "enum": [ - "uploaded" - ] - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "uploader", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "assets_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "author", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "discussion_url" - }, - { - "type": "boolean", - "name": "draft", - "description": "Whether the release is a draft or published", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string or null", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "boolean", - "name": "prerelease", - "description": "Whether the release is identified as a prerelease or a full release.", - "isRequired": true - }, - { - "type": "string or null", - "name": "published_at", - "isRequired": true - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "tag_name", - "description": "The name of the tag.", - "isRequired": true - }, - { - "type": "string or null", - "name": "tarball_url", - "isRequired": true - }, - { - "type": "string", - "name": "target_commitish", - "description": "Specifies the commitish value that determines where the Git tag is created from.", - "isRequired": true - }, - { - "type": "string", - "name": "upload_url", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string or null", - "name": "zipball_url", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "release", - "in": "body", - "description": "The [release](https://docs.github.com/rest/reference/repos/#get-a-release) object.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "array of objects", - "name": "assets", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "browser_download_url", - "isRequired": true - }, - { - "type": "string", - "name": "content_type", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "integer", - "name": "download_count", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string or null", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The file name of the asset.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of the release asset.", - "isRequired": true, - "enum": [ - "uploaded" - ] - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "uploader", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "assets_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "author", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "discussion_url" - }, - { - "type": "boolean", - "name": "draft", - "description": "Whether the release is a draft or published", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string or null", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "boolean", - "name": "prerelease", - "description": "Whether the release is identified as a prerelease or a full release.", - "isRequired": true - }, - { - "type": "string or null", - "name": "published_at", - "isRequired": true - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "tag_name", - "description": "The name of the tag.", - "isRequired": true - }, - { - "type": "string or null", - "name": "tarball_url", - "isRequired": true - }, - { - "type": "string", - "name": "target_commitish", - "description": "Specifies the commitish value that determines where the Git tag is created from.", - "isRequired": true - }, - { - "type": "string", - "name": "upload_url", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string or null", - "name": "zipball_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "assets" - }, - { - "type": "string", - "name": "assets_url" - }, - { - "type": "object", - "name": "author", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "pull_request", + "childParamsGroups": [ + { + "name": "_links", + "childParamsGroups": [ + { + "name": "comments", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "commits", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "html", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "issue", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "review_comment", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "review_comments", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "self", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "statuses", + "childParamsGroups": [ + { + "name": "href" + } + ] + } + ] + }, + { + "name": "active_lock_reason" + }, + { + "name": "assignee", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string or null", + "name": "assignees", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "auto_merge", + "description": "The status of auto merging a pull request.", + "childParamsGroups": [ + { + "name": "commit_message", + "description": "Commit message for the merge commit." + }, + { + "name": "commit_title", + "description": "Title for the merge commit message." + }, + { + "name": "enabled_by", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "merge_method", + "description": "The merge method to use." + } + ] + }, + { + "name": "base", + "childParamsGroups": [ + { + "name": "label" + }, + { + "name": "ref" + }, + { + "name": "repo", + "description": "A git repository", + "childParamsGroups": [ + { + "name": "allow_auto_merge", + "description": "Whether to allow auto-merge for pull requests." + }, + { + "name": "allow_forking", + "description": "Whether to allow private forks" + }, + { + "name": "allow_merge_commit", + "description": "Whether to allow merge commits for pull requests." + }, + { + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests." + }, + { + "name": "allow_squash_merge", + "description": "Whether to allow squash merges for pull requests." + }, + { + "name": "allow_update_branch" + }, + { + "name": "archive_url" + }, + { + "name": "archived", + "description": "Whether the repository is archived." + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "clone_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "created_at", + "description": "" + }, + { + "name": "default_branch", + "description": "The default branch of the repository." + }, + { + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "disabled", + "description": "Returns whether or not this repository is disabled." + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks" + }, + { + "name": "forks_count" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "git_url" + }, + { + "name": "has_downloads", + "description": "Whether downloads are enabled." + }, + { + "name": "has_issues", + "description": "Whether issues are enabled." + }, + { + "name": "has_pages" + }, + { + "name": "has_projects", + "description": "Whether projects are enabled." + }, + { + "name": "has_wiki", + "description": "Whether the wiki is enabled." + }, + { + "name": "has_discussions", + "description": "Whether discussions are enabled." + }, + { + "name": "homepage" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the repository" + }, + { + "name": "is_template" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "language" + }, + { + "name": "languages_url" + }, + { + "name": "license", + "childParamsGroups": [ + { + "name": "key" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "childParamsGroups": [ + { + "name": "admin" + }, + { + "name": "maintain" + }, + { + "name": "pull" + }, + { + "name": "push" + }, + { + "name": "triage" + } + ] + }, + { + "name": "private", + "description": "Whether the repository is private or public." + }, + { + "name": "public" + }, + { + "name": "pulls_url" + }, + { + "name": "pushed_at", + "description": "" + }, + { + "name": "releases_url" + }, + { + "name": "role_name" + }, + { + "name": "size" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "ssh_url" + }, + { + "name": "stargazers" + }, + { + "name": "stargazers_count" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "svn_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "topics" + }, + { + "name": "trees_url" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "use_squash_pr_title_as_default", + "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead." + }, + { + "name": "visibility" + }, + { + "name": "watchers" + }, + { + "name": "watchers_count" + }, + { + "name": "web_commit_signoff_required", + "description": "Whether to require contributors to sign off on web-based commits" + } + ] + }, + { + "name": "sha" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { "name": "body" }, { - "type": "string", + "name": "closed_at" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { "name": "created_at" }, { - "type": "boolean", + "name": "diff_url" + }, + { "name": "draft" }, { - "type": "string", + "name": "head", + "childParamsGroups": [ + { + "name": "label" + }, + { + "name": "ref" + }, + { + "name": "repo", + "description": "A git repository", + "childParamsGroups": [ + { + "name": "allow_auto_merge", + "description": "Whether to allow auto-merge for pull requests." + }, + { + "name": "allow_forking", + "description": "Whether to allow private forks" + }, + { + "name": "allow_merge_commit", + "description": "Whether to allow merge commits for pull requests." + }, + { + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests." + }, + { + "name": "allow_squash_merge", + "description": "Whether to allow squash merges for pull requests." + }, + { + "name": "allow_update_branch" + }, + { + "name": "archive_url" + }, + { + "name": "archived", + "description": "Whether the repository is archived." + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "clone_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "created_at", + "description": "" + }, + { + "name": "default_branch", + "description": "The default branch of the repository." + }, + { + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "disabled", + "description": "Returns whether or not this repository is disabled." + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks" + }, + { + "name": "forks_count" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "git_url" + }, + { + "name": "has_downloads", + "description": "Whether downloads are enabled." + }, + { + "name": "has_issues", + "description": "Whether issues are enabled." + }, + { + "name": "has_pages" + }, + { + "name": "has_projects", + "description": "Whether projects are enabled." + }, + { + "name": "has_wiki", + "description": "Whether the wiki is enabled." + }, + { + "name": "has_discussions", + "description": "Whether discussions are enabled." + }, + { + "name": "homepage" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the repository" + }, + { + "name": "is_template" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "language" + }, + { + "name": "languages_url" + }, + { + "name": "license", + "childParamsGroups": [ + { + "name": "key" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "childParamsGroups": [ + { + "name": "admin" + }, + { + "name": "maintain" + }, + { + "name": "pull" + }, + { + "name": "push" + }, + { + "name": "triage" + } + ] + }, + { + "name": "private", + "description": "Whether the repository is private or public." + }, + { + "name": "public" + }, + { + "name": "pulls_url" + }, + { + "name": "pushed_at", + "description": "" + }, + { + "name": "releases_url" + }, + { + "name": "role_name" + }, + { + "name": "size" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "ssh_url" + }, + { + "name": "stargazers" + }, + { + "name": "stargazers_count" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "svn_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "topics" + }, + { + "name": "trees_url" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "use_squash_pr_title_as_default", + "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead." + }, + { + "name": "visibility" + }, + { + "name": "watchers" + }, + { + "name": "watchers_count" + }, + { + "name": "web_commit_signoff_required", + "description": "Whether to require contributors to sign off on web-based commits" + } + ] + }, + { + "name": "sha" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string or null", - "name": "name" + "name": "issue_url" + }, + { + "name": "labels", + "childParamsGroups": [ + { + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color" + }, + { + "name": "default" + }, + { + "name": "description" + }, + { + "name": "id" + }, + { + "name": "name", + "description": "The name of the label." + }, + { + "name": "node_id" + }, + { + "name": "url", + "description": "URL for the label" + } + ] + }, + { + "name": "locked" + }, + { + "name": "merge_commit_sha" + }, + { + "name": "merged_at" + }, + { + "name": "milestone", + "description": "A collection of related issues and pull requests.", + "childParamsGroups": [ + { + "name": "closed_at" + }, + { + "name": "closed_issues" + }, + { + "name": "created_at" + }, + { + "name": "creator", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "description" + }, + { + "name": "due_on" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels_url" + }, + { + "name": "node_id" + }, + { + "name": "number", + "description": "The number of the milestone." + }, + { + "name": "open_issues" + }, + { + "name": "state", + "description": "The state of the milestone." + }, + { + "name": "title", + "description": "The title of the milestone." + }, + { + "name": "updated_at" + }, + { + "name": "url" + } + ] }, { - "type": "string", "name": "node_id" }, { - "type": "boolean", - "name": "prerelease" + "name": "number" }, { - "type": "string or null", - "name": "published_at", - "isRequired": true + "name": "patch_url" }, { - "type": "string", - "name": "tag_name" + "name": "requested_reviewers" }, { - "type": "string or null", - "name": "tarball_url" + "name": "requested_teams", + "childParamsGroups": [ + { + "name": "deleted" + }, + { + "name": "description", + "description": "Description of the team" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the team" + }, + { + "name": "members_url" + }, + { + "name": "name", + "description": "Name of the team" + }, + { + "name": "node_id" + }, + { + "name": "parent", + "childParamsGroups": [ + { + "name": "description", + "description": "Description of the team" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the team" + }, + { + "name": "members_url" + }, + { + "name": "name", + "description": "Name of the team" + }, + { + "name": "node_id" + }, + { + "name": "permission", + "description": "Permission that the team will have for its repositories" + }, + { + "name": "privacy" + }, + { + "name": "repositories_url" + }, + { + "name": "slug" + }, + { + "name": "url", + "description": "URL for the team" + } + ] + }, + { + "name": "permission", + "description": "Permission that the team will have for its repositories" + }, + { + "name": "privacy" + }, + { + "name": "repositories_url" + }, + { + "name": "slug" + }, + { + "name": "url", + "description": "URL for the team" + } + ] }, { - "type": "string", - "name": "target_commitish" + "name": "review_comment_url" }, { - "type": "string", + "name": "review_comments_url" + }, + { + "name": "state" + }, + { + "name": "statuses_url" + }, + { + "name": "title" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "review", + "description": "The review that was affected.", + "childParamsGroups": [ + { + "name": "_links", + "childParamsGroups": [ + { + "name": "html", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "pull_request", + "childParamsGroups": [ + { + "name": "href" + } + ] + } + ] + }, + { + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "body", + "description": "The text of the review." + }, + { + "name": "commit_id", + "description": "A commit SHA for the review." + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the review" + }, + { + "name": "node_id" + }, + { + "name": "pull_request_url" + }, + { + "name": "state" + }, + { + "name": "submitted_at" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "pull_request", + "childParamsGroups": [ + { + "name": "_links", + "childParamsGroups": [ + { + "name": "comments", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "commits", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "html", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "issue", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "review_comment", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "review_comments", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "self", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "statuses", + "childParamsGroups": [ + { + "name": "href" + } + ] + } + ] + }, + { + "name": "active_lock_reason" + }, + { + "name": "assignee", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "assignees", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "auto_merge", + "description": "The status of auto merging a pull request.", + "childParamsGroups": [ + { + "name": "commit_message", + "description": "Commit message for the merge commit." + }, + { + "name": "commit_title", + "description": "Title for the merge commit message." + }, + { + "name": "enabled_by", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "merge_method", + "description": "The merge method to use." + } + ] + }, + { + "name": "base", + "childParamsGroups": [ + { + "name": "label" + }, + { + "name": "ref" + }, + { + "name": "repo", + "description": "A git repository", + "childParamsGroups": [ + { + "name": "allow_auto_merge", + "description": "Whether to allow auto-merge for pull requests." + }, + { + "name": "allow_forking", + "description": "Whether to allow private forks" + }, + { + "name": "allow_merge_commit", + "description": "Whether to allow merge commits for pull requests." + }, + { + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests." + }, + { + "name": "allow_squash_merge", + "description": "Whether to allow squash merges for pull requests." + }, + { + "name": "allow_update_branch" + }, + { + "name": "archive_url" + }, + { + "name": "archived", + "description": "Whether the repository is archived." + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "clone_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "created_at", + "description": "" + }, + { + "name": "default_branch", + "description": "The default branch of the repository." + }, + { + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "disabled", + "description": "Returns whether or not this repository is disabled." + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks" + }, + { + "name": "forks_count" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "git_url" + }, + { + "name": "has_downloads", + "description": "Whether downloads are enabled." + }, + { + "name": "has_issues", + "description": "Whether issues are enabled." + }, + { + "name": "has_pages" + }, + { + "name": "has_projects", + "description": "Whether projects are enabled." + }, + { + "name": "has_wiki", + "description": "Whether the wiki is enabled." + }, + { + "name": "has_discussions", + "description": "Whether discussions are enabled." + }, + { + "name": "homepage" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the repository" + }, + { + "name": "is_template" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "language" + }, + { + "name": "languages_url" + }, + { + "name": "license", + "childParamsGroups": [ + { + "name": "key" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "childParamsGroups": [ + { + "name": "admin" + }, + { + "name": "maintain" + }, + { + "name": "pull" + }, + { + "name": "push" + }, + { + "name": "triage" + } + ] + }, + { + "name": "private", + "description": "Whether the repository is private or public." + }, + { + "name": "public" + }, + { + "name": "pulls_url" + }, + { + "name": "pushed_at", + "description": "" + }, + { + "name": "releases_url" + }, + { + "name": "role_name" + }, + { + "name": "size" + }, + { + "name": "ssh_url" + }, + { + "name": "stargazers" + }, + { + "name": "stargazers_count" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "svn_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "topics" + }, + { + "name": "trees_url" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "visibility" + }, + { + "name": "watchers" + }, + { + "name": "watchers_count" + }, + { + "name": "web_commit_signoff_required", + "description": "Whether to require contributors to sign off on web-based commits" + } + ] + }, + { + "name": "sha" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "body" + }, + { + "name": "closed_at" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "created_at" + }, + { + "name": "diff_url" + }, + { + "name": "draft" + }, + { + "name": "head", + "childParamsGroups": [ + { + "name": "label" + }, + { + "name": "ref" + }, + { + "name": "repo", + "description": "A git repository", + "childParamsGroups": [ + { + "name": "allow_auto_merge", + "description": "Whether to allow auto-merge for pull requests." + }, + { + "name": "allow_forking", + "description": "Whether to allow private forks" + }, + { + "name": "allow_merge_commit", + "description": "Whether to allow merge commits for pull requests." + }, + { + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests." + }, + { + "name": "allow_squash_merge", + "description": "Whether to allow squash merges for pull requests." + }, + { + "name": "allow_update_branch" + }, + { + "name": "archive_url" + }, + { + "name": "archived", + "description": "Whether the repository is archived." + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "clone_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "created_at", + "description": "" + }, + { + "name": "default_branch", + "description": "The default branch of the repository." + }, + { + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "disabled", + "description": "Returns whether or not this repository is disabled." + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks" + }, + { + "name": "forks_count" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "git_url" + }, + { + "name": "has_downloads", + "description": "Whether downloads are enabled." + }, + { + "name": "has_issues", + "description": "Whether issues are enabled." + }, + { + "name": "has_pages" + }, + { + "name": "has_projects", + "description": "Whether projects are enabled." + }, + { + "name": "has_wiki", + "description": "Whether the wiki is enabled." + }, + { + "name": "has_discussions", + "description": "Whether discussions are enabled." + }, + { + "name": "homepage" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the repository" + }, + { + "name": "is_template" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "language" + }, + { + "name": "languages_url" + }, + { + "name": "license", + "childParamsGroups": [ + { + "name": "key" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "childParamsGroups": [ + { + "name": "admin" + }, + { + "name": "maintain" + }, + { + "name": "pull" + }, + { + "name": "push" + }, + { + "name": "triage" + } + ] + }, + { + "name": "private", + "description": "Whether the repository is private or public." + }, + { + "name": "public" + }, + { + "name": "pulls_url" + }, + { + "name": "pushed_at", + "description": "" + }, + { + "name": "releases_url" + }, + { + "name": "role_name" + }, + { + "name": "size" + }, + { + "name": "ssh_url" + }, + { + "name": "stargazers" + }, + { + "name": "stargazers_count" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "svn_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "topics" + }, + { + "name": "trees_url" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "visibility" + }, + { + "name": "watchers" + }, + { + "name": "watchers_count" + }, + { + "name": "web_commit_signoff_required", + "description": "Whether to require contributors to sign off on web-based commits" + } + ] + }, + { + "name": "sha" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "issue_url" + }, + { + "name": "labels", + "childParamsGroups": [ + { + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color" + }, + { + "name": "default" + }, + { + "name": "description" + }, + { + "name": "id" + }, + { + "name": "name", + "description": "The name of the label." + }, + { + "name": "node_id" + }, + { + "name": "url", + "description": "URL for the label" + } + ] + }, + { + "name": "locked" + }, + { + "name": "merge_commit_sha" + }, + { + "name": "merged_at" + }, + { + "name": "milestone", + "description": "A collection of related issues and pull requests.", + "childParamsGroups": [ + { + "name": "closed_at" + }, + { + "name": "closed_issues" + }, + { + "name": "created_at" + }, + { + "name": "creator", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "description" + }, + { + "name": "due_on" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels_url" + }, + { + "name": "node_id" + }, + { + "name": "number", + "description": "The number of the milestone." + }, + { + "name": "open_issues" + }, + { + "name": "state", + "description": "The state of the milestone." + }, + { + "name": "title", + "description": "The title of the milestone." + }, + { + "name": "updated_at" + }, + { + "name": "url" + } + ] + }, + { + "name": "node_id" + }, + { + "name": "number" + }, + { + "name": "patch_url" + }, + { + "name": "requested_reviewers" + }, + { + "name": "requested_teams", + "childParamsGroups": [ + { + "name": "deleted" + }, + { + "name": "description", + "description": "Description of the team" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the team" + }, + { + "name": "members_url" + }, + { + "name": "name", + "description": "Name of the team" + }, + { + "name": "node_id" + }, + { + "name": "parent", + "childParamsGroups": [ + { + "name": "description", + "description": "Description of the team" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the team" + }, + { + "name": "members_url" + }, + { + "name": "name", + "description": "Name of the team" + }, + { + "name": "node_id" + }, + { + "name": "permission", + "description": "Permission that the team will have for its repositories" + }, + { + "name": "privacy" + }, + { + "name": "repositories_url" + }, + { + "name": "slug" + }, + { + "name": "url", + "description": "URL for the team" + } + ] + }, + { + "name": "permission", + "description": "Permission that the team will have for its repositories" + }, + { + "name": "privacy" + }, + { + "name": "repositories_url" + }, + { + "name": "slug" + }, + { + "name": "url", + "description": "URL for the team" + } + ] + }, + { + "name": "review_comment_url" + }, + { + "name": "review_comments_url" + }, + { + "name": "state" + }, + { + "name": "statuses_url" + }, + { + "name": "title" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "thread", + "childParamsGroups": [ + { + "name": "comments", + "childParamsGroups": [ + { + "name": "_links", + "childParamsGroups": [ + { + "name": "html", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "pull_request", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "self", + "childParamsGroups": [ + { + "name": "href" + } + ] + } + ] + }, + { + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "body", + "description": "The text of the comment." + }, + { + "name": "commit_id", + "description": "The SHA of the commit to which the comment applies." + }, + { + "name": "created_at" + }, + { + "name": "diff_hunk", + "description": "The diff of the line that the comment refers to." + }, + { + "name": "html_url", + "description": "HTML URL for the pull request review comment." + }, + { + "name": "id", + "description": "The ID of the pull request review comment." + }, + { + "name": "in_reply_to_id", + "description": "The comment ID to reply to." + }, + { + "name": "line", + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment" + }, + { + "name": "node_id", + "description": "The node ID of the pull request review comment." + }, + { + "name": "original_commit_id", + "description": "The SHA of the original commit to which the comment applies." + }, + { + "name": "original_line", + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment" + }, + { + "name": "original_position", + "description": "The index of the original line in the diff to which the comment applies." + }, + { + "name": "original_start_line", + "description": "The first line of the range for a multi-line comment." + }, + { + "name": "path", + "description": "The relative path of the file to which the comment applies." + }, + { + "name": "position", + "description": "The line index in the diff to which the comment applies." + }, + { + "name": "pull_request_review_id", + "description": "The ID of the pull request review to which the comment belongs." + }, + { + "name": "pull_request_url", + "description": "URL for the pull request that the review comment belongs to." + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "side", + "description": "The side of the first line of the range for a multi-line comment." + }, + { + "name": "start_line", + "description": "The first line of the range for a multi-line comment." + }, + { + "name": "start_side", + "description": "The side of the first line of the range for a multi-line comment." + }, + { + "name": "updated_at" + }, + { + "name": "url", + "description": "URL for the pull request review comment" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "node_id" + } + ] + }, + { + "name": "release", + "description": "The [release](https://docs.github.com/rest/reference/repos/#get-a-release) object.", + "childParamsGroups": [ + { + "name": "assets", + "childParamsGroups": [ + { + "name": "browser_download_url" + }, + { + "name": "content_type" + }, + { + "name": "created_at" + }, + { + "name": "download_count" + }, + { + "name": "id" + }, + { + "name": "label" + }, + { + "name": "name", + "description": "The file name of the asset." + }, + { + "name": "node_id" + }, + { + "name": "size" + }, + { + "name": "state", + "description": "State of the release asset." + }, + { + "name": "updated_at" + }, + { + "name": "uploader", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "url" + } + ] + }, + { + "name": "assets_url" + }, + { + "name": "author", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "body" + }, + { + "name": "created_at" + }, + { + "name": "discussion_url" + }, + { + "name": "draft", + "description": "Whether the release is a draft or published" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "prerelease", + "description": "Whether the release is identified as a prerelease or a full release." + }, + { + "name": "published_at" + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "tag_name", + "description": "The name of the tag." + }, + { + "name": "tarball_url" + }, + { + "name": "target_commitish", + "description": "Specifies the commitish value that determines where the Git tag is created from." + }, + { "name": "upload_url" }, { - "type": "string", "name": "url" }, { - "type": "string or null", "name": "zipball_url" } ] }, { - "type": "object", - "name": "alert", - "in": "body", - "description": "The security alert of the vulnerable dependency.", - "isRequired": true, + "name": "release", + "description": "The [release](https://docs.github.com/rest/reference/repos/#get-a-release) object.", "childParamsGroups": [ { - "type": "string", - "name": "affected_package_name", - "isRequired": true - }, - { - "type": "string", - "name": "affected_range", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "dismiss_reason" - }, - { - "type": "string", - "name": "dismissed_at" - }, - { - "type": "object or null", - "name": "dismisser", + "name": "assets", "childParamsGroups": [ { - "type": "string", - "name": "avatar_url" + "name": "browser_download_url" }, { - "type": "boolean", - "name": "deleted" + "name": "content_type" }, { - "type": "string or null", - "name": "email" + "name": "created_at" }, { - "type": "string", + "name": "download_count" + }, + { + "name": "id" + }, + { + "name": "label" + }, + { + "name": "name", + "description": "The file name of the asset." + }, + { + "name": "node_id" + }, + { + "name": "size" + }, + { + "name": "state", + "description": "State of the release asset." + }, + { + "name": "updated_at" + }, + { + "name": "uploader", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "url" + } + ] + }, + { + "name": "assets_url" + }, + { + "name": "author", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" }, { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "external_identifier", - "isRequired": true - }, - { - "type": "string or null", - "name": "external_reference", - "isRequired": true - }, - { - "type": "string", - "name": "fix_reason" - }, - { - "type": "string", - "name": "fixed_at" - }, - { - "type": "string", - "name": "fixed_in" - }, - { - "type": "string", - "name": "ghsa_id", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "severity", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "dismissed", - "fixed" - ] - }, - { - "type": "string", - "name": "affected_package_name" - }, - { - "type": "string", - "name": "affected_range" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "external_identifier" - }, - { - "type": "string or null", - "name": "external_reference" - }, - { - "type": "string", - "name": "fixed_in" - }, - { - "type": "string", - "name": "ghsa_id" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "number" - }, - { - "type": "string", - "name": "severity" - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open" - ] - } - ] - }, - { - "type": "object", - "name": "alert", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "number", - "description": "The security alert number." - }, - { - "type": "string", - "name": "created_at", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - { - "type": "string or null", - "name": "updated_at", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - { - "type": "string", - "name": "url", - "description": "The REST API URL of the alert resource." - }, - { - "type": "string", - "name": "html_url", - "description": "The GitHub URL of the alert resource." - }, - { - "type": "string", - "name": "locations_url", - "description": "The REST API URL of the code locations for this alert." - }, - { - "type": "string", - "name": "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 or null", - "name": "resolution", - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - null, - "false_positive", - "wont_fix", - "revoked", - "used_in_tests" - ] - }, - { - "type": "string or null", - "name": "resolved_at", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - { - "type": "object or null", - "name": "resolved_by", - "description": "A GitHub user.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "string or null", - "name": "resolution_comment", - "description": "An optional comment to resolve an alert." - }, - { - "type": "string", - "name": "secret_type", - "description": "The type of secret that secret scanning detected." - }, - { - "type": "string", - "name": "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", - "name": "secret", - "description": "The secret that was detected." - }, - { - "type": "boolean or null", - "name": "push_protection_bypassed", - "description": "Whether push protection was bypassed for the detected secret." - }, - { - "type": "object or null", - "name": "push_protection_bypassed_by", - "description": "A GitHub user.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "string or null", - "name": "push_protection_bypassed_at", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - } - ] - }, - { - "type": "object", - "name": "security_advisory", - "in": "body", - "description": "The details of the security advisory, including summary, description, and severity.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "cvss", - "isRequired": true, - "childParamsGroups": [ - { - "type": "number", - "name": "score", - "isRequired": true - }, - { - "type": "string or null", - "name": "vector_string", - "isRequired": true - } - ] - }, - { - "type": "array of objects", - "name": "cwes", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "cwe_id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "ghsa_id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "identifiers", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "string", - "name": "value", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "published_at", - "isRequired": true - }, - { - "type": "array of objects", - "name": "references", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "severity", - "isRequired": true - }, - { - "type": "string", - "name": "summary", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "array of objects", - "name": "vulnerabilities", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object or null", - "name": "first_patched_version", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "identifier", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "package", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ecosystem", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "severity", - "isRequired": true - }, - { - "type": "string", - "name": "vulnerable_version_range", - "isRequired": true - } - ] - }, - { - "type": "string or null", - "name": "withdrawn_at", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "sponsorship", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object", - "name": "maintainer", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", + "name": "name" + }, + { "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "body" }, { - "type": "string", - "name": "privacy_level", - "isRequired": true + "name": "created_at" }, { - "type": "object or null", - "name": "sponsor", - "isRequired": true, + "name": "discussion_url" + }, + { + "name": "draft", + "description": "Whether the release is a draft or published" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "prerelease", + "description": "Whether the release is identified as a prerelease or a full release." + }, + { + "name": "published_at" + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "tag_name", + "description": "The name of the tag." + }, + { + "name": "tarball_url" + }, + { + "name": "target_commitish", + "description": "Specifies the commitish value that determines where the Git tag is created from." + }, + { + "name": "upload_url" + }, + { + "name": "url" + }, + { + "name": "zipball_url" + }, + { + "name": "assets" + }, + { + "name": "assets_url" + }, + { + "name": "author", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", - "name": "name" - }, - { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object or null", - "name": "sponsorable", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] + "name": "body" }, { - "type": "object", - "name": "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.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_custom_ammount" - }, - { - "type": "boolean", - "name": "is_custom_amount" - }, - { - "type": "boolean", - "name": "is_one_time", - "isRequired": true - }, - { - "type": "integer", - "name": "monthly_price_in_cents", - "isRequired": true - }, - { - "type": "integer", - "name": "monthly_price_in_dollars", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - } - ] + "name": "created_at" + }, + { + "name": "draft" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "prerelease" + }, + { + "name": "published_at" + }, + { + "name": "tag_name" + }, + { + "name": "tarball_url" + }, + { + "name": "target_commitish" + }, + { + "name": "upload_url" + }, + { + "name": "url" + }, + { + "name": "zipball_url" } ] }, { - "type": "string", - "name": "effective_date", - "in": "body", - "description": "The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect." - }, - { - "type": "object", - "name": "changes", - "in": "body", - "isRequired": true, + "name": "alert", + "description": "The security alert of the vulnerable dependency.", "childParamsGroups": [ { - "type": "object", - "name": "tier", - "isRequired": true, + "name": "affected_package_name" + }, + { + "name": "affected_range" + }, + { + "name": "created_at" + }, + { + "name": "dismiss_reason" + }, + { + "name": "dismissed_at" + }, + { + "name": "dismisser", "childParamsGroups": [ { - "type": "object", - "name": "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.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_custom_ammount" - }, - { - "type": "boolean", - "name": "is_custom_amount" - }, - { - "type": "boolean", - "name": "is_one_time", - "isRequired": true - }, - { - "type": "integer", - "name": "monthly_price_in_cents", - "isRequired": true - }, - { - "type": "integer", - "name": "monthly_price_in_dollars", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - } - ] - } - ] - } - ] - }, - { - "type": "object", - "name": "repository", - "in": "body", - "description": "A git repository", - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] + "name": "external_identifier" }, { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "name": "external_reference" }, { - "type": "boolean", - "name": "public" + "name": "fix_reason" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "fixed_at" }, { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true + "name": "fixed_in" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "ghsa_id" }, { - "type": "string or null", - "name": "role_name" + "name": "id" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "number" }, { - "type": "integer", - "name": "stargazers" + "name": "severity" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "state" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "affected_package_name" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "affected_range" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "created_at" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "external_identifier" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "external_reference" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "fixed_in" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "ghsa_id" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "number" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "severity" }, { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "state" } ] }, { - "type": "object", "name": "deployment", - "in": "body", "description": "A request for a specific ref(branch,sha,tag) to be deployed", "childParamsGroups": [ { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the deployment", - "isRequired": true + "description": "Unique identifier of the deployment" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "string", "name": "ref", - "description": "The ref to deploy. This can be a branch, tag, or sha.", - "isRequired": true + "description": "The ref to deploy. This can be a branch, tag, or sha." }, { - "type": "string", "name": "task", - "description": "Parameter to specify a task to execute", - "isRequired": true + "description": "Parameter to specify a task to execute" }, { - "type": "object or string", "name": "payload", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "original_environment" }, { - "type": "string", "name": "environment", - "description": "Name for the target deployment environment.", - "isRequired": true + "description": "Name for the target deployment environment." }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "object or null", "name": "creator", "description": "A GitHub user.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "name" }, { - "type": "string or null", "name": "email" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", "name": "starred_at" } ] }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "repository_url", - "isRequired": true + "name": "repository_url" }, { - "type": "boolean", "name": "transient_environment", "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false." }, { - "type": "boolean", "name": "production_environment", "description": "Specifies if the given environment is one that end-users directly interact with. Default: false." }, { - "type": "object or null", "name": "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.", "childParamsGroups": [ { - "type": "integer", "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true + "description": "Unique identifier of the GitHub app" }, { - "type": "string", "name": "slug", "description": "The slug name of the GitHub app" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "object or null", "name": "owner", "description": "A GitHub user.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "name" }, { - "type": "string or null", "name": "email" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", "name": "starred_at" } ] }, { - "type": "string", "name": "name", - "description": "The name of the GitHub app", - "isRequired": true + "description": "The name of the GitHub app" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string", - "name": "external_url", - "isRequired": true + "name": "external_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "object", "name": "permissions", "description": "The set of permissions for the GitHub app", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "issues" }, { - "type": "string", "name": "checks" }, { - "type": "string", "name": "metadata" }, { - "type": "string", "name": "contents" }, { - "type": "string", "name": "deployments" } ] }, { - "type": "array of strings", "name": "events", - "description": "The list of events for the GitHub app", - "isRequired": true + "description": "The list of events for the GitHub app" }, { - "type": "integer", "name": "installations_count", "description": "The number of installations associated with the GitHub app" }, { - "type": "string", "name": "client_id" }, { - "type": "string", "name": "client_secret" }, { - "type": "string or null", "name": "webhook_secret" }, { - "type": "string", "name": "pem" } ] @@ -26209,12 +19484,1433 @@ ] }, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "in_progress" + "name": "workflow_run", + "childParamsGroups": [ + { + "name": "actor", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "artifacts_url" + }, + { + "name": "cancel_url" + }, + { + "name": "check_suite_id" + }, + { + "name": "check_suite_node_id" + }, + { + "name": "check_suite_url" + }, + { + "name": "conclusion" + }, + { + "name": "created_at" + }, + { + "name": "event" + }, + { + "name": "head_branch" + }, + { + "name": "head_commit", + "childParamsGroups": [ + { + "name": "author", + "description": "Metaproperties for Git author/committer information.", + "childParamsGroups": [ + { + "name": "date" + }, + { + "name": "email" + }, + { + "name": "name", + "description": "The git author's name." + }, + { + "name": "username" + } + ] + }, + { + "name": "committer", + "description": "Metaproperties for Git author/committer information.", + "childParamsGroups": [ + { + "name": "date" + }, + { + "name": "email" + }, + { + "name": "name", + "description": "The git author's name." + }, + { + "name": "username" + } + ] + }, + { + "name": "id" + }, + { + "name": "message" + }, + { + "name": "timestamp" + }, + { + "name": "tree_id" + } + ] + }, + { + "name": "head_repository", + "childParamsGroups": [ + { + "name": "archive_url" + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the repository" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "languages_url" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "private", + "description": "Whether the repository is private or public." + }, + { + "name": "pulls_url" + }, + { + "name": "releases_url" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "trees_url" + }, + { + "name": "url" + } + ] + }, + { + "name": "head_sha" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "jobs_url" + }, + { + "name": "logs_url" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "path" + }, + { + "name": "previous_attempt_url" + }, + { + "name": "pull_requests", + "childParamsGroups": [ + { + "name": "base", + "childParamsGroups": [ + { + "name": "ref" + }, + { + "name": "repo", + "childParamsGroups": [ + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "url" + } + ] + }, + { + "name": "sha" + } + ] + }, + { + "name": "head", + "childParamsGroups": [ + { + "name": "ref" + }, + { + "name": "repo", + "childParamsGroups": [ + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "url" + } + ] + }, + { + "name": "sha" + } + ] + }, + { + "name": "id" + }, + { + "name": "number" + }, + { + "name": "url" + } + ] + }, + { + "name": "referenced_workflows", + "childParamsGroups": [ + { + "name": "path" + }, + { + "name": "ref" + }, + { + "name": "sha" + } + ] + }, + { + "name": "repository", + "childParamsGroups": [ + { + "name": "archive_url" + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the repository" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "languages_url" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "private", + "description": "Whether the repository is private or public." + }, + { + "name": "pulls_url" + }, + { + "name": "releases_url" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "trees_url" + }, + { + "name": "url" + } + ] + }, + { + "name": "rerun_url" + }, + { + "name": "run_attempt" + }, + { + "name": "run_number" + }, + { + "name": "run_started_at" + }, + { + "name": "status" + }, + { + "name": "triggering_actor", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "workflow_id" + }, + { + "name": "workflow_url" + }, + { + "name": "actor", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "artifacts_url" + }, + { + "name": "cancel_url" + }, + { + "name": "check_suite_id" + }, + { + "name": "check_suite_node_id" + }, + { + "name": "check_suite_url" + }, + { + "name": "conclusion" + }, + { + "name": "created_at" + }, + { + "name": "event" + }, + { + "name": "head_branch" + }, + { + "name": "head_commit", + "childParamsGroups": [ + { + "name": "author", + "childParamsGroups": [ + { + "name": "email" + }, + { + "name": "name" + } + ] + }, + { + "name": "committer", + "childParamsGroups": [ + { + "name": "email" + }, + { + "name": "name" + } + ] + }, + { + "name": "id" + }, + { + "name": "message" + }, + { + "name": "timestamp" + }, + { + "name": "tree_id" + } + ] + }, + { + "name": "head_repository", + "childParamsGroups": [ + { + "name": "archive_url" + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "languages_url" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "private" + }, + { + "name": "pulls_url" + }, + { + "name": "releases_url" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "trees_url" + }, + { + "name": "url" + } + ] + }, + { + "name": "head_sha" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "jobs_url" + }, + { + "name": "logs_url" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "path" + }, + { + "name": "previous_attempt_url" + }, + { + "name": "pull_requests" + }, + { + "name": "referenced_workflows", + "childParamsGroups": [ + { + "name": "path" + }, + { + "name": "ref" + }, + { + "name": "sha" + } + ] + }, + { + "name": "repository", + "childParamsGroups": [ + { + "name": "archive_url" + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "languages_url" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "private" + }, + { + "name": "pulls_url" + }, + { + "name": "releases_url" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "trees_url" + }, + { + "name": "url" + } + ] + }, + { + "name": "rerun_url" + }, + { + "name": "run_attempt" + }, + { + "name": "run_number" + }, + { + "name": "run_started_at" + }, + { + "name": "status" + }, + { + "name": "triggering_actor", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "workflow_id" + }, + { + "name": "workflow_url" + } ] } ] \ No newline at end of file diff --git a/languageservice/src/context-providers/events/webhooks.json b/languageservice/src/context-providers/events/webhooks.json index 9624eab..b95b693 100644 --- a/languageservice/src/context-providers/events/webhooks.json +++ b/languageservice/src/context-providers/events/webhooks.json @@ -1,8 +1,6 @@ { "branch_protection_rule": { "created": { - "description": "A branch protection rule was created.", - "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", "bodyParameters": [ 0, 1, @@ -12,19 +10,11 @@ 5, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "branch_protection_rule" + "action": "created" }, "deleted": { - "description": "A branch protection rule was deleted.", - "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.", "bodyParameters": [ - 7, + 0, 1, 2, 3, @@ -32,109 +22,68 @@ 5, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "deleted", - "category": "branch_protection_rule" + "action": "deleted" }, "edited": { - "description": "A branch protection rule was edited.", - "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.", "bodyParameters": [ - 8, + 0, { - "type": "object", "name": "changes", - "in": "body", "description": "If the action was `edited`, the changes to the rule.", "childParamsGroups": [ { - "type": "object", "name": "admin_enforced", "childParamsGroups": [ { - "type": "boolean or null", - "name": "from", - "isRequired": true + "name": "from" } ] }, { - "type": "object", "name": "authorized_actor_names", "childParamsGroups": [ { - "type": "array of strings", - "name": "from", - "isRequired": true + "name": "from" } ] }, { - "type": "object", "name": "authorized_actors_only", "childParamsGroups": [ { - "type": "boolean or null", - "name": "from", - "isRequired": true + "name": "from" } ] }, { - "type": "object", "name": "authorized_dismissal_actors_only", "childParamsGroups": [ { - "type": "boolean or null", - "name": "from", - "isRequired": true + "name": "from" } ] }, { - "type": "object", "name": "linear_history_requirement_enforcement_level", "childParamsGroups": [ { - "type": "string", - "name": "from", - "isRequired": true, - "enum": [ - "off", - "non_admins", - "everyone" - ] + "name": "from" } ] }, { - "type": "object", "name": "required_status_checks", "childParamsGroups": [ { - "type": "array of strings", - "name": "from", - "isRequired": true + "name": "from" } ] }, { - "type": "object", "name": "required_status_checks_enforcement_level", "childParamsGroups": [ { - "type": "string", - "name": "from", - "isRequired": true, - "enum": [ - "off", - "non_admins", - "everyone" - ] + "name": "from" } ] } @@ -147,86 +96,44 @@ 5, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "branch_protection_rule" + "action": "edited" } }, "check_run": { "completed": { - "description": "A check run was completed, and a conclusion is available.", - "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`.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "enum": [ - "completed" - ] - }, - 9, + 0, + 7, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "completed", - "category": "check_run" + "action": "completed" }, "created": { - "description": "A new check run was created.", - "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`.", "bodyParameters": [ - 10, - 9, + 0, + 7, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "check_run" + "action": "created" }, "requested_action": { - "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).\"", - "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`.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "requested_action" - ] - }, - 9, + 0, + 7, 2, 3, 4, { - "type": "object", "name": "requested_action", - "in": "body", "description": "The action requested by the user.", "childParamsGroups": [ { - "type": "string", "name": "identifier", "description": "The integrator reference of the action requested by the user." } @@ -234,781 +141,417 @@ }, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "requested_action", - "category": "check_run" + "action": "requested_action" }, "rerequested": { - "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.", - "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`.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "enum": [ - "rerequested" - ] - }, - 9, + 0, + 7, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "rerequested", - "category": "check_run" + "action": "rerequested" } }, "check_suite": { "completed": { - "description": "All check runs in a check suite have completed, and a conclusion is available.", - "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`.", "bodyParameters": [ - 11, - 12, + 0, + 8, { - "type": "object", "name": "check_suite", - "in": "body", "description": "The [check_suite](https://docs.github.com/rest/reference/checks#suites).", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "after", - "isRequired": true + "name": "after" }, { - "type": "object", "name": "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.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "array of strings", "name": "events", "description": "The list of events for the GitHub app" }, { - "type": "string or null", - "name": "external_url", - "isRequired": true + "name": "external_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer or null", "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true + "description": "Unique identifier of the GitHub app" }, { - "type": "string", "name": "name", - "description": "The name of the GitHub app", - "isRequired": true + "description": "The name of the GitHub app" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "object or null", "name": "owner", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "description": "The set of permissions for the GitHub app", "childParamsGroups": [ { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] + "name": "actions" }, { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] + "name": "administration" }, { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] + "name": "checks" }, { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] + "name": "content_references" }, { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] + "name": "contents" }, { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] + "name": "deployments" }, { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] + "name": "discussions" }, { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] + "name": "emails" }, { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] + "name": "environments" }, { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] + "name": "issues" }, { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] + "name": "keys" }, { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] + "name": "members" }, { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] + "name": "metadata" }, { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] + "name": "organization_administration" }, { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] + "name": "organization_hooks" }, { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] + "name": "organization_packages" }, { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] + "name": "organization_plan" }, { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write", - "admin" - ] + "name": "organization_projects" }, { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] + "name": "organization_secrets" }, { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] + "name": "organization_self_hosted_runners" }, { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] + "name": "organization_user_blocking" }, { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] + "name": "packages" }, { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] + "name": "pages" }, { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] + "name": "pull_requests" }, { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] + "name": "repository_hooks" }, { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write", - "admin" - ] + "name": "repository_projects" }, { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] + "name": "secret_scanning_alerts" }, { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] + "name": "secrets" }, { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] + "name": "security_events" }, { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] + "name": "security_scanning_alert" }, { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] + "name": "single_file" }, { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] + "name": "statuses" }, { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] + "name": "team_discussions" }, { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] + "name": "vulnerability_alerts" }, { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] + "name": "workflows" } ] }, { - "type": "string", "name": "slug", "description": "The slug name of the GitHub app" }, { - "type": "string or null", - "name": "updated_at", - "isRequired": true + "name": "updated_at" } ] }, { - "type": "string or null", - "name": "before", - "isRequired": true + "name": "before" }, { - "type": "string", - "name": "check_runs_url", - "isRequired": true + "name": "check_runs_url" }, { - "type": "string or null", "name": "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`.", - "isRequired": true, - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null, - "skipped", - "startup_failure" - ] + "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`." }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string or null", "name": "head_branch", - "description": "The head branch name the changes are on.", - "isRequired": true + "description": "The head branch name the changes are on." }, { - "type": "object", "name": "head_commit", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "author", "description": "Metaproperties for Git author/committer information.", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "date" }, { - "type": "string or null", - "name": "email", - "isRequired": true + "name": "email" }, { - "type": "string", "name": "name", - "description": "The git author's name.", - "isRequired": true + "description": "The git author's name." }, { - "type": "string", "name": "username" } ] }, { - "type": "object", "name": "committer", "description": "Metaproperties for Git author/committer information.", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "date" }, { - "type": "string or null", - "name": "email", - "isRequired": true + "name": "email" }, { - "type": "string", "name": "name", - "description": "The git author's name.", - "isRequired": true + "description": "The git author's name." }, { - "type": "string", "name": "username" } ] }, { - "type": "string", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "message", - "isRequired": true + "name": "message" }, { - "type": "string", - "name": "timestamp", - "isRequired": true + "name": "timestamp" }, { - "type": "string", - "name": "tree_id", - "isRequired": true + "name": "tree_id" } ] }, { - "type": "string", "name": "head_sha", - "description": "The SHA of the head commit that is being checked.", - "isRequired": true + "description": "The SHA of the head commit that is being checked." }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "integer", - "name": "latest_check_runs_count", - "isRequired": true + "name": "latest_check_runs_count" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "array of objects", "name": "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.", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "base", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object", "name": "repo", - "isRequired": true, "childParamsGroups": [ { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" } ] }, { - "type": "object", "name": "head", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object", "name": "repo", - "isRequired": true, "childParamsGroups": [ { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" } ] }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "integer", - "name": "number", - "isRequired": true + "name": "number" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "boolean", "name": "rerequestable" }, { - "type": "boolean", "name": "runs_rerequestable" }, { - "type": "string or null", "name": "status", - "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`.", - "isRequired": true, - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - null, - "pending" - ] + "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", "name": "url", - "description": "URL that points to the check suite API resource.", - "isRequired": true + "description": "URL that points to the check suite API resource." } ] }, @@ -1018,8876 +561,493 @@ 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "completed", - "category": "check_suite" + "action": "completed" }, "requested": { - "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.", - "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`.", "bodyParameters": [ - 13, - 12, - { - "type": "object", - "name": "check_suite", - "in": "body", - "description": "The [check_suite](https://docs.github.com/rest/reference/checks#suites).", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "after", - "isRequired": true - }, - { - "type": "object", - "name": "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.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write", - "admin" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write", - "admin" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "string or null", - "name": "before", - "isRequired": true - }, - { - "type": "string", - "name": "check_runs_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "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.", - "isRequired": true, - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null, - "skipped" - ] - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "head_branch", - "description": "The head branch name the changes are on.", - "isRequired": true - }, - { - "type": "object", - "name": "head_commit", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "author", - "description": "Metaproperties for Git author/committer information.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "date" - }, - { - "type": "string or null", - "name": "email", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The git author's name.", - "isRequired": true - }, - { - "type": "string", - "name": "username" - } - ] - }, - { - "type": "object", - "name": "committer", - "description": "Metaproperties for Git author/committer information.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "date" - }, - { - "type": "string or null", - "name": "email", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The git author's name.", - "isRequired": true - }, - { - "type": "string", - "name": "username" - } - ] - }, - { - "type": "string", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "message", - "isRequired": true - }, - { - "type": "string", - "name": "timestamp", - "isRequired": true - }, - { - "type": "string", - "name": "tree_id", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "head_sha", - "description": "The SHA of the head commit that is being checked.", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "integer", - "name": "latest_check_runs_count", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "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.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "rerequestable" - }, - { - "type": "boolean", - "name": "runs_rerequestable" - }, - { - "type": "string or null", - "name": "status", - "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`.", - "isRequired": true, - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - null - ] - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL that points to the check suite API resource.", - "isRequired": true - } - ] - }, + 0, + 8, + 9, 1, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "requested", - "category": "check_suite" + "action": "requested" }, "rerequested": { - "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.", - "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`.", "bodyParameters": [ + 0, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "rerequested" - ] - }, - { - "type": "object or null", "name": "actions_meta", - "in": "body", "childParamsGroups": [ { - "type": "object", "name": "rerun_info", "childParamsGroups": [ { - "type": "string", "name": "plan_id" }, { - "type": "array of strings", "name": "job_ids" } ] } ] }, - { - "type": "object", - "name": "check_suite", - "in": "body", - "description": "The [check_suite](https://docs.github.com/rest/reference/checks#suites).", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "after", - "isRequired": true - }, - { - "type": "object", - "name": "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.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write", - "admin" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write", - "admin" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "string or null", - "name": "before", - "isRequired": true - }, - { - "type": "string", - "name": "check_runs_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "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.", - "isRequired": true, - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null - ] - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "head_branch", - "description": "The head branch name the changes are on.", - "isRequired": true - }, - { - "type": "object", - "name": "head_commit", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "author", - "description": "Metaproperties for Git author/committer information.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "date" - }, - { - "type": "string or null", - "name": "email", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The git author's name.", - "isRequired": true - }, - { - "type": "string", - "name": "username" - } - ] - }, - { - "type": "object", - "name": "committer", - "description": "Metaproperties for Git author/committer information.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "date" - }, - { - "type": "string or null", - "name": "email", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The git author's name.", - "isRequired": true - }, - { - "type": "string", - "name": "username" - } - ] - }, - { - "type": "string", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "message", - "isRequired": true - }, - { - "type": "string", - "name": "timestamp", - "isRequired": true - }, - { - "type": "string", - "name": "tree_id", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "head_sha", - "description": "The SHA of the head commit that is being checked.", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "integer", - "name": "latest_check_runs_count", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "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.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "rerequestable" - }, - { - "type": "boolean", - "name": "runs_rerequestable" - }, - { - "type": "string or null", - "name": "status", - "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`.", - "isRequired": true, - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - null - ] - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL that points to the check suite API resource.", - "isRequired": true - } - ] - }, + 9, 1, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "rerequested", - "category": "check_suite" - } - }, - "code_scanning_alert": { - "appeared_in_branch": { - "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.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "appeared_in_branch" - ] - }, - { - "type": "object", - "name": "alert", - "in": "body", - "description": "The code scanning alert involved in the event.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "isRequired": true - }, - { - "type": "string or null", - "name": "dismissed_at", - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "isRequired": true - }, - { - "type": "object or null", - "name": "dismissed_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "dismissed_reason", - "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", - "isRequired": true, - "enum": [ - "false positive", - "won't fix", - "used in tests", - null - ] - }, - { - "type": "string", - "name": "html_url", - "description": "The GitHub URL of the alert resource.", - "isRequired": true - }, - { - "type": "object or null", - "name": "most_recent_instance", - "childParamsGroups": [ - { - "type": "string", - "name": "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.", - "isRequired": true - }, - { - "type": "array of strings", - "name": "classifications" - }, - { - "type": "string", - "name": "commit_sha" - }, - { - "type": "string", - "name": "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.", - "isRequired": true - }, - { - "type": "object", - "name": "location", - "childParamsGroups": [ - { - "type": "integer", - "name": "end_column" - }, - { - "type": "integer", - "name": "end_line" - }, - { - "type": "string", - "name": "path" - }, - { - "type": "integer", - "name": "start_column" - }, - { - "type": "integer", - "name": "start_line" - } - ] - }, - { - "type": "object", - "name": "message", - "childParamsGroups": [ - { - "type": "string", - "name": "text" - } - ] - }, - { - "type": "string", - "name": "ref", - "description": "The full Git reference, formatted as `refs/heads/`.", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of a code scanning alert.", - "isRequired": true, - "enum": [ - "open", - "dismissed", - "fixed" - ] - } - ] - }, - { - "type": "integer", - "name": "number", - "description": "The code scanning alert number.", - "isRequired": true - }, - { - "type": "object", - "name": "rule", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "description", - "description": "A short description of the rule used to detect the alert.", - "isRequired": true - }, - { - "type": "string", - "name": "id", - "description": "A unique identifier for the rule used to detect the alert.", - "isRequired": true - }, - { - "type": "string or null", - "name": "severity", - "description": "The severity of the alert.", - "isRequired": true, - "enum": [ - "none", - "note", - "warning", - "error", - null - ] - } - ] - }, - { - "type": "string", - "name": "state", - "description": "State of a code scanning alert.", - "isRequired": true, - "enum": [ - "open", - "dismissed", - "fixed" - ] - }, - { - "type": "object", - "name": "tool", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "name", - "description": "The name of the tool used to generate the code scanning analysis alert.", - "isRequired": true - }, - { - "type": "string or null", - "name": "version", - "description": "The version of the tool used to detect the alert.", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - 14, - 1, - 2, - 3, - 15, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "appeared_in_branch", - "category": "code_scanning_alert" - }, - "closed_by_user": { - "description": "Someone closed a code scanning alert.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "closed_by_user" - ] - }, - { - "type": "object", - "name": "alert", - "in": "body", - "description": "The code scanning alert involved in the event.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "isRequired": true - }, - { - "type": "string", - "name": "dismissed_at", - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "isRequired": true - }, - { - "type": "object or null", - "name": "dismissed_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "dismissed_reason", - "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", - "isRequired": true, - "enum": [ - "false positive", - "won't fix", - "used in tests", - null - ] - }, - { - "type": "string", - "name": "html_url", - "description": "The GitHub URL of the alert resource.", - "isRequired": true - }, - { - "type": "object or null", - "name": "most_recent_instance", - "childParamsGroups": [ - { - "type": "string", - "name": "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.", - "isRequired": true - }, - { - "type": "array of strings", - "name": "classifications" - }, - { - "type": "string", - "name": "commit_sha" - }, - { - "type": "string", - "name": "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.", - "isRequired": true - }, - { - "type": "object", - "name": "location", - "childParamsGroups": [ - { - "type": "integer", - "name": "end_column" - }, - { - "type": "integer", - "name": "end_line" - }, - { - "type": "string", - "name": "path" - }, - { - "type": "integer", - "name": "start_column" - }, - { - "type": "integer", - "name": "start_line" - } - ] - }, - { - "type": "object", - "name": "message", - "childParamsGroups": [ - { - "type": "string", - "name": "text" - } - ] - }, - { - "type": "string", - "name": "ref", - "description": "The full Git reference, formatted as `refs/heads/`.", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of a code scanning alert.", - "isRequired": true, - "enum": [ - "open", - "dismissed", - "fixed" - ] - } - ] - }, - { - "type": "integer", - "name": "number", - "description": "The code scanning alert number.", - "isRequired": true - }, - { - "type": "object", - "name": "rule", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "description", - "description": "A short description of the rule used to detect the alert.", - "isRequired": true - }, - { - "type": "string", - "name": "full_description" - }, - { - "type": "string or null", - "name": "help" - }, - { - "type": "string or null", - "name": "help_uri", - "description": "A link to the documentation for the rule used to detect the alert." - }, - { - "type": "string", - "name": "id", - "description": "A unique identifier for the rule used to detect the alert.", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string or null", - "name": "severity", - "description": "The severity of the alert.", - "isRequired": true, - "enum": [ - "none", - "note", - "warning", - "error", - null - ] - }, - { - "type": "array of strings or null", - "name": "tags" - } - ] - }, - { - "type": "string", - "name": "state", - "description": "State of a code scanning alert.", - "isRequired": true, - "enum": [ - "dismissed", - "fixed" - ] - }, - { - "type": "object", - "name": "tool", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "guid" - }, - { - "type": "string", - "name": "name", - "description": "The name of the tool used to generate the code scanning analysis alert.", - "isRequired": true - }, - { - "type": "string or null", - "name": "version", - "description": "The version of the tool used to detect the alert.", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - 14, - 1, - 2, - 3, - 15, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "closed_by_user", - "category": "code_scanning_alert" - }, - "created": { - "description": "A code scanning alert was created in a repository.", - "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.", - "bodyParameters": [ - 0, - { - "type": "object", - "name": "alert", - "in": "body", - "description": "The code scanning alert involved in the event.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "isRequired": true - }, - { - "type": "null", - "name": "dismissed_at", - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "isRequired": true - }, - { - "type": "null", - "name": "dismissed_by", - "isRequired": true - }, - { - "type": "string or null", - "name": "dismissed_comment", - "description": "The dismissal comment associated with the dismissal of the alert." - }, - { - "type": "null", - "name": "dismissed_reason", - "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", - "isRequired": true - }, - { - "type": "null", - "name": "fixed_at" - }, - { - "type": "string", - "name": "html_url", - "description": "The GitHub URL of the alert resource.", - "isRequired": true - }, - { - "type": "string", - "name": "instances_url" - }, - { - "type": "object or null", - "name": "most_recent_instance", - "childParamsGroups": [ - { - "type": "string", - "name": "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.", - "isRequired": true - }, - { - "type": "array of strings", - "name": "classifications" - }, - { - "type": "string", - "name": "commit_sha" - }, - { - "type": "string", - "name": "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.", - "isRequired": true - }, - { - "type": "object", - "name": "location", - "childParamsGroups": [ - { - "type": "integer", - "name": "end_column" - }, - { - "type": "integer", - "name": "end_line" - }, - { - "type": "string", - "name": "path" - }, - { - "type": "integer", - "name": "start_column" - }, - { - "type": "integer", - "name": "start_line" - } - ] - }, - { - "type": "object", - "name": "message", - "childParamsGroups": [ - { - "type": "string", - "name": "text" - } - ] - }, - { - "type": "string", - "name": "ref", - "description": "The full Git reference, formatted as `refs/heads/`.", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of a code scanning alert.", - "isRequired": true, - "enum": [ - "open", - "dismissed", - "fixed" - ] - } - ] - }, - { - "type": "integer", - "name": "number", - "description": "The code scanning alert number.", - "isRequired": true - }, - { - "type": "object", - "name": "rule", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "description", - "description": "A short description of the rule used to detect the alert.", - "isRequired": true - }, - { - "type": "string", - "name": "full_description" - }, - { - "type": "string or null", - "name": "help" - }, - { - "type": "string or null", - "name": "help_uri", - "description": "A link to the documentation for the rule used to detect the alert." - }, - { - "type": "string", - "name": "id", - "description": "A unique identifier for the rule used to detect the alert.", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string or null", - "name": "severity", - "description": "The severity of the alert.", - "isRequired": true, - "enum": [ - "none", - "note", - "warning", - "error", - null - ] - }, - { - "type": "array of strings or null", - "name": "tags" - } - ] - }, - { - "type": "string", - "name": "state", - "description": "State of a code scanning alert.", - "isRequired": true, - "enum": [ - "open", - "dismissed" - ] - }, - { - "type": "object or null", - "name": "tool", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "guid" - }, - { - "type": "string", - "name": "name", - "description": "The name of the tool used to generate the code scanning analysis alert.", - "isRequired": true - }, - { - "type": "string or null", - "name": "version", - "description": "The version of the tool used to detect the alert.", - "isRequired": true - } - ] - }, - { - "type": "string or null", - "name": "updated_at" - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - 14, - 1, - 2, - 3, - 15, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "code_scanning_alert" - }, - "fixed": { - "description": "A code scanning alert was fixed in a branch by a commit.", - "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.", - "bodyParameters": [ - 16, - { - "type": "object", - "name": "alert", - "in": "body", - "description": "The code scanning alert involved in the event.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "isRequired": true - }, - { - "type": "string or null", - "name": "dismissed_at", - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "isRequired": true - }, - { - "type": "object or null", - "name": "dismissed_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "dismissed_reason", - "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", - "isRequired": true, - "enum": [ - "false positive", - "won't fix", - "used in tests", - null - ] - }, - { - "type": "string", - "name": "html_url", - "description": "The GitHub URL of the alert resource.", - "isRequired": true - }, - { - "type": "string", - "name": "instances_url" - }, - { - "type": "object or null", - "name": "most_recent_instance", - "childParamsGroups": [ - { - "type": "string", - "name": "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.", - "isRequired": true - }, - { - "type": "array of strings", - "name": "classifications" - }, - { - "type": "string", - "name": "commit_sha" - }, - { - "type": "string", - "name": "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.", - "isRequired": true - }, - { - "type": "object", - "name": "location", - "childParamsGroups": [ - { - "type": "integer", - "name": "end_column" - }, - { - "type": "integer", - "name": "end_line" - }, - { - "type": "string", - "name": "path" - }, - { - "type": "integer", - "name": "start_column" - }, - { - "type": "integer", - "name": "start_line" - } - ] - }, - { - "type": "object", - "name": "message", - "childParamsGroups": [ - { - "type": "string", - "name": "text" - } - ] - }, - { - "type": "string", - "name": "ref", - "description": "The full Git reference, formatted as `refs/heads/`.", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of a code scanning alert.", - "isRequired": true, - "enum": [ - "open", - "dismissed", - "fixed" - ] - } - ] - }, - { - "type": "integer", - "name": "number", - "description": "The code scanning alert number.", - "isRequired": true - }, - { - "type": "object", - "name": "rule", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "description", - "description": "A short description of the rule used to detect the alert.", - "isRequired": true - }, - { - "type": "string", - "name": "full_description" - }, - { - "type": "string or null", - "name": "help" - }, - { - "type": "string or null", - "name": "help_uri", - "description": "A link to the documentation for the rule used to detect the alert." - }, - { - "type": "string", - "name": "id", - "description": "A unique identifier for the rule used to detect the alert.", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string or null", - "name": "severity", - "description": "The severity of the alert.", - "isRequired": true, - "enum": [ - "none", - "note", - "warning", - "error", - null - ] - }, - { - "type": "array of strings or null", - "name": "tags" - } - ] - }, - { - "type": "string", - "name": "state", - "description": "State of a code scanning alert.", - "isRequired": true, - "enum": [ - "fixed" - ] - }, - { - "type": "object", - "name": "tool", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "guid" - }, - { - "type": "string", - "name": "name", - "description": "The name of the tool used to generate the code scanning analysis alert.", - "isRequired": true - }, - { - "type": "string or null", - "name": "version", - "description": "The version of the tool used to detect the alert.", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - 14, - 1, - 2, - 3, - 15, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "fixed", - "category": "code_scanning_alert" - }, - "reopened": { - "description": "A previously fixed code scanning alert reappeared in a branch.", - "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.", - "bodyParameters": [ - 17, - { - "type": "object or null", - "name": "alert", - "in": "body", - "description": "The code scanning alert involved in the event.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "isRequired": true - }, - { - "type": "string or null", - "name": "dismissed_at", - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "isRequired": true - }, - { - "type": "object or null", - "name": "dismissed_by", - "isRequired": true - }, - { - "type": "string or null", - "name": "dismissed_reason", - "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "The GitHub URL of the alert resource.", - "isRequired": true - }, - { - "type": "object or null", - "name": "most_recent_instance", - "childParamsGroups": [ - { - "type": "string", - "name": "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.", - "isRequired": true - }, - { - "type": "array of strings", - "name": "classifications" - }, - { - "type": "string", - "name": "commit_sha" - }, - { - "type": "string", - "name": "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.", - "isRequired": true - }, - { - "type": "object", - "name": "location", - "childParamsGroups": [ - { - "type": "integer", - "name": "end_column" - }, - { - "type": "integer", - "name": "end_line" - }, - { - "type": "string", - "name": "path" - }, - { - "type": "integer", - "name": "start_column" - }, - { - "type": "integer", - "name": "start_line" - } - ] - }, - { - "type": "object", - "name": "message", - "childParamsGroups": [ - { - "type": "string", - "name": "text" - } - ] - }, - { - "type": "string", - "name": "ref", - "description": "The full Git reference, formatted as `refs/heads/`.", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of a code scanning alert.", - "isRequired": true, - "enum": [ - "open", - "dismissed", - "fixed" - ] - } - ] - }, - { - "type": "integer", - "name": "number", - "description": "The code scanning alert number.", - "isRequired": true - }, - { - "type": "object", - "name": "rule", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "description", - "description": "A short description of the rule used to detect the alert.", - "isRequired": true - }, - { - "type": "string", - "name": "full_description" - }, - { - "type": "string or null", - "name": "help" - }, - { - "type": "string or null", - "name": "help_uri", - "description": "A link to the documentation for the rule used to detect the alert." - }, - { - "type": "string", - "name": "id", - "description": "A unique identifier for the rule used to detect the alert.", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string or null", - "name": "severity", - "description": "The severity of the alert.", - "isRequired": true, - "enum": [ - "none", - "note", - "warning", - "error", - null - ] - }, - { - "type": "array of strings or null", - "name": "tags" - } - ] - }, - { - "type": "string", - "name": "state", - "description": "State of a code scanning alert.", - "isRequired": true, - "enum": [ - "open", - "dismissed", - "fixed" - ] - }, - { - "type": "object", - "name": "tool", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "guid" - }, - { - "type": "string", - "name": "name", - "description": "The name of the tool used to generate the code scanning analysis alert.", - "isRequired": true - }, - { - "type": "string or null", - "name": "version", - "description": "The version of the tool used to detect the alert.", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string or null", - "name": "commit_oid", - "in": "body", - "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.", - "isRequired": true - }, - 1, - 2, - 3, - { - "type": "string or null", - "name": "ref", - "in": "body", - "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.", - "isRequired": true - }, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "reopened", - "category": "code_scanning_alert" - }, - "reopened_by_user": { - "description": "Someone reopened a code scanning alert.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "reopened_by_user" - ] - }, - { - "type": "object", - "name": "alert", - "in": "body", - "description": "The code scanning alert involved in the event.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "isRequired": true - }, - { - "type": "null", - "name": "dismissed_at", - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "isRequired": true - }, - { - "type": "null", - "name": "dismissed_by", - "isRequired": true - }, - { - "type": "null", - "name": "dismissed_reason", - "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "The GitHub URL of the alert resource.", - "isRequired": true - }, - { - "type": "object or null", - "name": "most_recent_instance", - "childParamsGroups": [ - { - "type": "string", - "name": "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.", - "isRequired": true - }, - { - "type": "array of strings", - "name": "classifications" - }, - { - "type": "string", - "name": "commit_sha" - }, - { - "type": "string", - "name": "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.", - "isRequired": true - }, - { - "type": "object", - "name": "location", - "childParamsGroups": [ - { - "type": "integer", - "name": "end_column" - }, - { - "type": "integer", - "name": "end_line" - }, - { - "type": "string", - "name": "path" - }, - { - "type": "integer", - "name": "start_column" - }, - { - "type": "integer", - "name": "start_line" - } - ] - }, - { - "type": "object", - "name": "message", - "childParamsGroups": [ - { - "type": "string", - "name": "text" - } - ] - }, - { - "type": "string", - "name": "ref", - "description": "The full Git reference, formatted as `refs/heads/`.", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of a code scanning alert.", - "isRequired": true, - "enum": [ - "open", - "dismissed", - "fixed" - ] - } - ] - }, - { - "type": "integer", - "name": "number", - "description": "The code scanning alert number.", - "isRequired": true - }, - { - "type": "object", - "name": "rule", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "description", - "description": "A short description of the rule used to detect the alert.", - "isRequired": true - }, - { - "type": "string", - "name": "id", - "description": "A unique identifier for the rule used to detect the alert.", - "isRequired": true - }, - { - "type": "string or null", - "name": "severity", - "description": "The severity of the alert.", - "isRequired": true, - "enum": [ - "none", - "note", - "warning", - "error", - null - ] - } - ] - }, - { - "type": "string", - "name": "state", - "description": "State of a code scanning alert.", - "isRequired": true, - "enum": [ - "open", - "fixed" - ] - }, - { - "type": "object", - "name": "tool", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "name", - "description": "The name of the tool used to generate the code scanning analysis alert.", - "isRequired": true - }, - { - "type": "string or null", - "name": "version", - "description": "The version of the tool used to detect the alert.", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - 14, - 1, - 2, - 3, - 15, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "reopened_by_user", - "category": "code_scanning_alert" - } - }, - "commit_comment": { - "created": { - "description": "Someone commented on a commit.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "description": "The action performed. Can be `created`.", - "isRequired": true, - "enum": [ - "created" - ] - }, - { - "type": "object", - "name": "comment", - "in": "body", - "description": "The [commit comment](https://docs.github.com/rest/reference/repos#get-a-commit-comment) resource.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string", - "name": "body", - "description": "The text of the comment.", - "isRequired": true - }, - { - "type": "string", - "name": "commit_id", - "description": "The SHA of the commit to which the comment applies.", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "The ID of the commit comment.", - "isRequired": true - }, - { - "type": "integer or null", - "name": "line", - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "The node ID of the commit comment.", - "isRequired": true - }, - { - "type": "string or null", - "name": "path", - "description": "The relative path of the file to which the comment applies.", - "isRequired": true - }, - { - "type": "integer or null", - "name": "position", - "description": "The line index in the diff to which the comment applies.", - "isRequired": true - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - 1, - 2, - 3, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "commit_comment" + "action": "rerequested" } }, "create": { "default": { - "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.", "bodyParameters": [ { - "type": "string or null", "name": "description", - "in": "body", - "description": "The repository's current description.", - "isRequired": true + "description": "The repository's current description." }, 1, 2, { - "type": "string", "name": "master_branch", - "in": "body", - "description": "The name of the repository's default branch (usually `main`).", - "isRequired": true + "description": "The name of the repository's default branch (usually `main`)." }, 3, - 18, - 19, + 10, + 11, { - "type": "string", "name": "ref_type", - "in": "body", - "description": "The type of Git ref object created in the repository.", - "isRequired": true, - "enum": [ - "tag", - "branch" - ] + "description": "The type of Git ref object created in the repository." }, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "default", - "category": "create" + "action": "default" } }, "delete": { "default": { - "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.", "bodyParameters": [ 1, 2, 3, - 18, - 19, + 10, + 11, { - "type": "string", "name": "ref_type", - "in": "body", - "description": "The type of Git ref object deleted in the repository.", - "isRequired": true, - "enum": [ - "tag", - "branch" - ] + "description": "The type of Git ref object deleted in the repository." }, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "default", - "category": "delete" - } - }, - "dependabot_alert": { - "created": { - "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.", - "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.", - "bodyParameters": [ - 0, - 20, - 2, - 3, - 1, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "dependabot_alert" - }, - "dismissed": { - "description": "A Dependabot alert was manually closed.", - "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.", - "bodyParameters": [ - 21, - 20, - 2, - 3, - 1, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "dismissed", - "category": "dependabot_alert" - }, - "fixed": { - "description": "A manifest file change removed a vulnerability.", - "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.", - "bodyParameters": [ - 16, - 20, - 2, - 3, - 1, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "fixed", - "category": "dependabot_alert" - }, - "reintroduced": { - "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "reintroduced" - ] - }, - 20, - 2, - 3, - 1, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "reintroduced", - "category": "dependabot_alert" - }, - "reopened": { - "description": "A Dependabot alert was manually reopened.", - "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.", - "bodyParameters": [ - 17, - 20, - 2, - 3, - 1, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "reopened", - "category": "dependabot_alert" - } - }, - "deploy_key": { - "created": { - "description": "A deploy key was created.", - "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.", - "bodyParameters": [ - 0, - 1, - 2, - 22, - 3, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "deploy_key" - }, - "deleted": { - "description": "A deploy key was deleted.", - "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.", - "bodyParameters": [ - 7, - 1, - 2, - 22, - 3, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "deleted", - "category": "deploy_key" + "action": "default" } }, "deployment": { "created": { - "description": "A deployment was created.", - "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.", "bodyParameters": [ 0, - { - "type": "object", - "name": "deployment", - "in": "body", - "description": "The [deployment](https://docs.github.com/rest/reference/deployments#list-deployments).", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "environment", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "original_environment", - "isRequired": true - }, - { - "type": "object or string", - "name": "payload", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "production_environment" - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "task", - "isRequired": true - }, - { - "type": "boolean", - "name": "transient_environment" - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, + 12, 1, 2, 3, 4, 6, - 23, - { - "type": "object or null", - "name": "workflow_run", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object or null", - "name": "actor", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "artifacts_url" - }, - { - "type": "string", - "name": "cancel_url" - }, - { - "type": "integer", - "name": "check_suite_id", - "isRequired": true - }, - { - "type": "string", - "name": "check_suite_node_id", - "isRequired": true - }, - { - "type": "string", - "name": "check_suite_url" - }, - { - "type": "string or null", - "name": "conclusion", - "isRequired": true, - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null - ] - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "display_title", - "isRequired": true - }, - { - "type": "string", - "name": "event", - "isRequired": true - }, - { - "type": "string", - "name": "head_branch", - "isRequired": true - }, - { - "type": "null", - "name": "head_commit" - }, - { - "type": "object", - "name": "head_repository", - "childParamsGroups": [ - { - "type": "string", - "name": "archive_url" - }, - { - "type": "string", - "name": "assignees_url" - }, - { - "type": "string", - "name": "blobs_url" - }, - { - "type": "string", - "name": "branches_url" - }, - { - "type": "string", - "name": "collaborators_url" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "commits_url" - }, - { - "type": "string", - "name": "compare_url" - }, - { - "type": "string", - "name": "contents_url" - }, - { - "type": "string", - "name": "contributors_url" - }, - { - "type": "string", - "name": "deployments_url" - }, - { - "type": "null", - "name": "description" - }, - { - "type": "string", - "name": "downloads_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "boolean", - "name": "fork" - }, - { - "type": "string", - "name": "forks_url" - }, - { - "type": "string", - "name": "full_name" - }, - { - "type": "string", - "name": "git_commits_url" - }, - { - "type": "string", - "name": "git_refs_url" - }, - { - "type": "string", - "name": "git_tags_url" - }, - { - "type": "string", - "name": "hooks_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "issue_comment_url" - }, - { - "type": "string", - "name": "issue_events_url" - }, - { - "type": "string", - "name": "issues_url" - }, - { - "type": "string", - "name": "keys_url" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "string", - "name": "languages_url" - }, - { - "type": "string", - "name": "merges_url" - }, - { - "type": "string", - "name": "milestones_url" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "notifications_url" - }, - { - "type": "object", - "name": "owner", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "boolean", - "name": "private" - }, - { - "type": "string", - "name": "pulls_url" - }, - { - "type": "string", - "name": "releases_url" - }, - { - "type": "string", - "name": "stargazers_url" - }, - { - "type": "string", - "name": "statuses_url" - }, - { - "type": "string", - "name": "subscribers_url" - }, - { - "type": "string", - "name": "subscription_url" - }, - { - "type": "string", - "name": "tags_url" - }, - { - "type": "string", - "name": "teams_url" - }, - { - "type": "string", - "name": "trees_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "head_sha", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "jobs_url" - }, - { - "type": "string", - "name": "logs_url" - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "path", - "isRequired": true - }, - { - "type": "null", - "name": "previous_attempt_url" - }, - { - "type": "array of objects", - "name": "pull_requests", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "array of objects or null", - "name": "referenced_workflows", - "childParamsGroups": [ - { - "type": "string", - "name": "path", - "isRequired": true - }, - { - "type": "string", - "name": "ref" - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "repository", - "childParamsGroups": [ - { - "type": "string", - "name": "archive_url" - }, - { - "type": "string", - "name": "assignees_url" - }, - { - "type": "string", - "name": "blobs_url" - }, - { - "type": "string", - "name": "branches_url" - }, - { - "type": "string", - "name": "collaborators_url" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "commits_url" - }, - { - "type": "string", - "name": "compare_url" - }, - { - "type": "string", - "name": "contents_url" - }, - { - "type": "string", - "name": "contributors_url" - }, - { - "type": "string", - "name": "deployments_url" - }, - { - "type": "null", - "name": "description" - }, - { - "type": "string", - "name": "downloads_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "boolean", - "name": "fork" - }, - { - "type": "string", - "name": "forks_url" - }, - { - "type": "string", - "name": "full_name" - }, - { - "type": "string", - "name": "git_commits_url" - }, - { - "type": "string", - "name": "git_refs_url" - }, - { - "type": "string", - "name": "git_tags_url" - }, - { - "type": "string", - "name": "hooks_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "issue_comment_url" - }, - { - "type": "string", - "name": "issue_events_url" - }, - { - "type": "string", - "name": "issues_url" - }, - { - "type": "string", - "name": "keys_url" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "string", - "name": "languages_url" - }, - { - "type": "string", - "name": "merges_url" - }, - { - "type": "string", - "name": "milestones_url" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "notifications_url" - }, - { - "type": "object", - "name": "owner", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "boolean", - "name": "private" - }, - { - "type": "string", - "name": "pulls_url" - }, - { - "type": "string", - "name": "releases_url" - }, - { - "type": "string", - "name": "stargazers_url" - }, - { - "type": "string", - "name": "statuses_url" - }, - { - "type": "string", - "name": "subscribers_url" - }, - { - "type": "string", - "name": "subscription_url" - }, - { - "type": "string", - "name": "tags_url" - }, - { - "type": "string", - "name": "teams_url" - }, - { - "type": "string", - "name": "trees_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "rerun_url" - }, - { - "type": "integer", - "name": "run_attempt", - "isRequired": true - }, - { - "type": "integer", - "name": "run_number", - "isRequired": true - }, - { - "type": "string", - "name": "run_started_at", - "isRequired": true - }, - { - "type": "string", - "name": "status", - "isRequired": true, - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "waiting", - "pending" - ] - }, - { - "type": "object or null", - "name": "triggering_actor", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "integer", - "name": "workflow_id", - "isRequired": true - }, - { - "type": "string", - "name": "workflow_url" - } - ] - } + 13, + 14 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "deployment" + "action": "created" } }, "deployment_status": { "created": { - "description": "A new deployment status was created.", - "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.", "bodyParameters": [ 0, { - "type": "object or null", "name": "check_run", - "in": "body", "childParamsGroups": [ { - "type": "string or null", - "name": "completed_at", - "isRequired": true + "name": "completed_at" }, { - "type": "string or null", "name": "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.", - "isRequired": true, - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - "skipped", - null - ] + "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." }, { - "type": "string", - "name": "details_url", - "isRequired": true + "name": "details_url" }, { - "type": "string", - "name": "external_id", - "isRequired": true + "name": "external_id" }, { - "type": "string", "name": "head_sha", - "description": "The SHA of the commit that is being checked.", - "isRequired": true + "description": "The SHA of the commit that is being checked." }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "The id of the check.", - "isRequired": true + "description": "The id of the check." }, { - "type": "string", "name": "name", - "description": "The name of the check run.", - "isRequired": true + "description": "The name of the check run." }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "started_at", - "isRequired": true + "name": "started_at" }, { - "type": "string", "name": "status", - "description": "The current status of the check run. Can be `queued`, `in_progress`, or `completed`.", - "isRequired": true, - "enum": [ - "queued", - "in_progress", - "completed", - "waiting", - "pending" - ] + "description": "The current status of the check run. Can be `queued`, `in_progress`, or `completed`." }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, + 12, { - "type": "object", - "name": "deployment", - "in": "body", - "description": "The [deployment](https://docs.github.com/rest/reference/deployments#list-deployments).", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "environment", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "original_environment", - "isRequired": true - }, - { - "type": "string or object or null", - "name": "payload", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "production_environment" - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "task", - "isRequired": true - }, - { - "type": "boolean", - "name": "transient_environment" - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "object", "name": "deployment_status", - "in": "body", "description": "The [deployment status](https://docs.github.com/rest/reference/deployments#list-deployment-statuses).", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "object or null", "name": "creator", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", - "name": "deployment_url", - "isRequired": true + "name": "deployment_url" }, { - "type": "string", "name": "description", - "description": "The optional human-readable description added to the status.", - "isRequired": true + "description": "The optional human-readable description added to the status." }, { - "type": "string", - "name": "environment", - "isRequired": true + "name": "environment" }, { - "type": "string", "name": "environment_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", "name": "log_url" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "object or null", "name": "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.", "childParamsGroups": [ { - "type": "string or null", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "array of strings", "name": "events", "description": "The list of events for the GitHub app" }, { - "type": "string or null", - "name": "external_url", - "isRequired": true + "name": "external_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer or null", "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true + "description": "Unique identifier of the GitHub app" }, { - "type": "string", "name": "name", - "description": "The name of the GitHub app", - "isRequired": true + "description": "The name of the GitHub app" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "object or null", "name": "owner", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "description": "The set of permissions for the GitHub app", "childParamsGroups": [ { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] + "name": "actions" }, { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] + "name": "administration" }, { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] + "name": "checks" }, { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] + "name": "content_references" }, { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] + "name": "contents" }, { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] + "name": "deployments" }, { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] + "name": "discussions" }, { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] + "name": "emails" }, { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] + "name": "environments" }, { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] + "name": "issues" }, { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] + "name": "keys" }, { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] + "name": "members" }, { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] + "name": "metadata" }, { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] + "name": "organization_administration" }, { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] + "name": "organization_hooks" }, { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] + "name": "organization_packages" }, { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] + "name": "organization_plan" }, { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write" - ] + "name": "organization_projects" }, { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] + "name": "organization_secrets" }, { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] + "name": "organization_self_hosted_runners" }, { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] + "name": "organization_user_blocking" }, { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] + "name": "packages" }, { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] + "name": "pages" }, { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] + "name": "pull_requests" }, { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] + "name": "repository_hooks" }, { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write" - ] + "name": "repository_projects" }, { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] + "name": "secret_scanning_alerts" }, { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] + "name": "secrets" }, { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] + "name": "security_events" }, { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] + "name": "security_scanning_alert" }, { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] + "name": "single_file" }, { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] + "name": "statuses" }, { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] + "name": "team_discussions" }, { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] + "name": "vulnerability_alerts" }, { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] + "name": "workflows" } ] }, { - "type": "string", "name": "slug", "description": "The slug name of the GitHub app" }, { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The new state. Can be `pending`, `success`, `failure`, or `error`.", - "isRequired": true - }, - { - "type": "string", - "name": "target_url", - "description": "The optional link added to the status.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - 1, - 2, - 3, - 4, - 6, - { - "type": "object or null", - "name": "workflow", - "in": "body", - "childParamsGroups": [ - { - "type": "string", - "name": "badge_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "path", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "object or null", - "name": "workflow_run", - "in": "body", - "childParamsGroups": [ - { - "type": "object or null", - "name": "actor", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "artifacts_url" - }, - { - "type": "string", - "name": "cancel_url" - }, - { - "type": "integer", - "name": "check_suite_id", - "isRequired": true - }, - { - "type": "string", - "name": "check_suite_node_id", - "isRequired": true - }, - { - "type": "string", - "name": "check_suite_url" - }, - { - "type": "string or null", - "name": "conclusion", - "isRequired": true, - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null, - "startup_failure" - ] - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "display_title", - "isRequired": true - }, - { - "type": "string", - "name": "event", - "isRequired": true - }, - { - "type": "string", - "name": "head_branch", - "isRequired": true - }, - { - "type": "null", - "name": "head_commit" - }, - { - "type": "object", - "name": "head_repository", - "childParamsGroups": [ - { - "type": "string", - "name": "archive_url" - }, - { - "type": "string", - "name": "assignees_url" - }, - { - "type": "string", - "name": "blobs_url" - }, - { - "type": "string", - "name": "branches_url" - }, - { - "type": "string", - "name": "collaborators_url" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "commits_url" - }, - { - "type": "string", - "name": "compare_url" - }, - { - "type": "string", - "name": "contents_url" - }, - { - "type": "string", - "name": "contributors_url" - }, - { - "type": "string", - "name": "deployments_url" - }, - { - "type": "null", - "name": "description" - }, - { - "type": "string", - "name": "downloads_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "boolean", - "name": "fork" - }, - { - "type": "string", - "name": "forks_url" - }, - { - "type": "string", - "name": "full_name" - }, - { - "type": "string", - "name": "git_commits_url" - }, - { - "type": "string", - "name": "git_refs_url" - }, - { - "type": "string", - "name": "git_tags_url" - }, - { - "type": "string", - "name": "hooks_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "issue_comment_url" - }, - { - "type": "string", - "name": "issue_events_url" - }, - { - "type": "string", - "name": "issues_url" - }, - { - "type": "string", - "name": "keys_url" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "string", - "name": "languages_url" - }, - { - "type": "string", - "name": "merges_url" - }, - { - "type": "string", - "name": "milestones_url" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "notifications_url" - }, - { - "type": "object", - "name": "owner", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "boolean", - "name": "private" - }, - { - "type": "string", - "name": "pulls_url" - }, - { - "type": "string", - "name": "releases_url" - }, - { - "type": "string", - "name": "stargazers_url" - }, - { - "type": "string", - "name": "statuses_url" - }, - { - "type": "string", - "name": "subscribers_url" - }, - { - "type": "string", - "name": "subscription_url" - }, - { - "type": "string", - "name": "tags_url" - }, - { - "type": "string", - "name": "teams_url" - }, - { - "type": "string", - "name": "trees_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "head_sha", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "jobs_url" - }, - { - "type": "string", - "name": "logs_url" - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "path", - "isRequired": true - }, - { - "type": "null", - "name": "previous_attempt_url" - }, - { - "type": "array of objects", - "name": "pull_requests", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "array of objects or null", - "name": "referenced_workflows", - "childParamsGroups": [ - { - "type": "string", - "name": "path", - "isRequired": true - }, - { - "type": "string", - "name": "ref" - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "repository", - "childParamsGroups": [ - { - "type": "string", - "name": "archive_url" - }, - { - "type": "string", - "name": "assignees_url" - }, - { - "type": "string", - "name": "blobs_url" - }, - { - "type": "string", - "name": "branches_url" - }, - { - "type": "string", - "name": "collaborators_url" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "commits_url" - }, - { - "type": "string", - "name": "compare_url" - }, - { - "type": "string", - "name": "contents_url" - }, - { - "type": "string", - "name": "contributors_url" - }, - { - "type": "string", - "name": "deployments_url" - }, - { - "type": "null", - "name": "description" - }, - { - "type": "string", - "name": "downloads_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "boolean", - "name": "fork" - }, - { - "type": "string", - "name": "forks_url" - }, - { - "type": "string", - "name": "full_name" - }, - { - "type": "string", - "name": "git_commits_url" - }, - { - "type": "string", - "name": "git_refs_url" - }, - { - "type": "string", - "name": "git_tags_url" - }, - { - "type": "string", - "name": "hooks_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "issue_comment_url" - }, - { - "type": "string", - "name": "issue_events_url" - }, - { - "type": "string", - "name": "issues_url" - }, - { - "type": "string", - "name": "keys_url" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "string", - "name": "languages_url" - }, - { - "type": "string", - "name": "merges_url" - }, - { - "type": "string", - "name": "milestones_url" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "notifications_url" - }, - { - "type": "object", - "name": "owner", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "boolean", - "name": "private" - }, - { - "type": "string", - "name": "pulls_url" - }, - { - "type": "string", - "name": "releases_url" - }, - { - "type": "string", - "name": "stargazers_url" - }, - { - "type": "string", - "name": "statuses_url" - }, - { - "type": "string", - "name": "subscribers_url" - }, - { - "type": "string", - "name": "subscription_url" - }, - { - "type": "string", - "name": "tags_url" - }, - { - "type": "string", - "name": "teams_url" - }, - { - "type": "string", - "name": "trees_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "rerun_url" - }, - { - "type": "integer", - "name": "run_attempt", - "isRequired": true - }, - { - "type": "integer", - "name": "run_number", - "isRequired": true - }, - { - "type": "string", - "name": "run_started_at", - "isRequired": true - }, - { - "type": "string", - "name": "status", - "isRequired": true, - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "waiting", - "pending" - ] - }, - { - "type": "object or null", - "name": "triggering_actor", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "integer", - "name": "workflow_id", - "isRequired": true - }, - { - "type": "string", - "name": "workflow_url" - } - ] - } - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "deployment_status" - } - }, - "discussion": { - "answered": { - "description": "A comment on the discussion was marked as the answer.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "answered" - ] - }, - { - "type": "object", - "name": "answer", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string", - "name": "body", - "isRequired": true - }, - { - "type": "integer", - "name": "child_comment_count", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "integer", - "name": "discussion_id", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "null", - "name": "parent_id", - "isRequired": true - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - 24, - 1, - 2, - 3, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "answered", - "category": "discussion" - }, - "category_changed": { - "description": "The category of a discussion was changed.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "category_changed" - ] - }, - { - "type": "object", - "name": "changes", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "category", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "from", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "emoji", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_answerable", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "repository_id", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - } - ] - } - ] - } - ] - }, - 24, - 1, - 2, - 3, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "category_changed", - "category": "discussion" - }, - "created": { - "description": "A discussion was created.", - "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.", - "bodyParameters": [ - 0, - { - "type": "object", - "name": "discussion", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true - }, - { - "type": "string or null", - "name": "answer_chosen_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "answer_chosen_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "answer_html_url", - "isRequired": true - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "object", - "name": "category", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "emoji", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_answerable", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "repository_id", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "locked", - "converting", - "transferring" - ] - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "null", - "name": "active_lock_reason" - }, - { - "type": "null", - "name": "answer_chosen_at", - "isRequired": true - }, - { - "type": "null", - "name": "answer_chosen_by", - "isRequired": true - }, - { - "type": "string or null", - "name": "answer_html_url", - "isRequired": true - }, - { - "type": "string", - "name": "author_association" - }, - { - "type": "string or null", - "name": "body" - }, - { - "type": "object", - "name": "category", - "childParamsGroups": [ - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "description" - }, - { - "type": "string", - "name": "emoji" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "boolean", - "name": "is_answerable" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "repository_id" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", "name": "updated_at" } ] }, { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true, - "enum": [ - false - ] - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "number" - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1" - }, - { - "type": "integer", - "name": "-1" - }, - { - "type": "integer", - "name": "confused" - }, - { - "type": "integer", - "name": "eyes" - }, - { - "type": "integer", - "name": "heart" - }, - { - "type": "integer", - "name": "hooray" - }, - { - "type": "integer", - "name": "laugh" - }, - { - "type": "integer", - "name": "rocket" - }, - { - "type": "integer", - "name": "total_count" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", "name": "repository_url" }, { - "type": "string", "name": "state", - "isRequired": true, - "enum": [ - "open", - "converting", - "transferring" - ] + "description": "The new state. Can be `pending`, `success`, `failure`, or `error`." }, { - "type": "string", - "name": "timeline_url" + "name": "target_url", + "description": "The optional link added to the status." }, { - "type": "string", - "name": "title" - }, - { - "type": "string", "name": "updated_at" }, { - "type": "object", - "name": "user", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] + "name": "url" } ] }, @@ -9895,501 +1055,668 @@ 2, 3, 4, - 6 + 6, + 13, + 14 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "discussion" - }, - "deleted": { - "description": "A discussion was deleted.", - "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.", + "action": "created" + } + }, + "discussion": { + "answered": { "bodyParameters": [ - 7, - 24, - 1, - 2, - 3, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "deleted", - "category": "discussion" - }, - "edited": { - "description": "The title or body on a discussion was edited, or the category of the discussion was changed.", - "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.", - "bodyParameters": [ - 8, + 0, { - "type": "object", - "name": "changes", - "in": "body", + "name": "answer", "childParamsGroups": [ { - "type": "object", - "name": "body", - "childParamsGroups": [ - { - "type": "string", - "name": "from", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "title", - "childParamsGroups": [ - { - "type": "string", - "name": "from", - "isRequired": true - } - ] - } - ] - }, - 24, - 1, - 2, - 3, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "discussion" - }, - "labeled": { - "description": "A label was added to a discussion.", - "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.", - "bodyParameters": [ - 25, - { - "type": "object", - "name": "discussion", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true - }, - { - "type": "string or null", - "name": "answer_chosen_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "answer_chosen_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "answer_html_url", - "isRequired": true - }, - { - "type": "string", "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] + "description": "How the author is associated with the repository." }, { - "type": "string or null", - "name": "body", - "isRequired": true + "name": "body" }, { - "type": "object", - "name": "category", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "emoji", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_answerable", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "repository_id", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - } - ] + "name": "child_comment_count" }, { - "type": "integer", - "name": "comments", - "isRequired": true + "name": "created_at" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "discussion_id" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "boolean", - "name": "locked", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "parent_id" }, { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object", "name": "reactions", "childParamsGroups": [ { - "type": "integer", - "name": "+1", - "isRequired": true + "name": "+1" }, { - "type": "integer", - "name": "-1", - "isRequired": true + "name": "-1" }, { - "type": "integer", - "name": "confused", - "isRequired": true + "name": "confused" }, { - "type": "integer", - "name": "eyes", - "isRequired": true + "name": "eyes" }, { - "type": "integer", - "name": "heart", - "isRequired": true + "name": "heart" }, { - "type": "integer", - "name": "hooray", - "isRequired": true + "name": "hooray" }, { - "type": "integer", - "name": "laugh", - "isRequired": true + "name": "laugh" }, { - "type": "integer", - "name": "rocket", - "isRequired": true + "name": "rocket" }, { - "type": "integer", - "name": "total_count", - "isRequired": true + "name": "total_count" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "repository_url", - "isRequired": true + "name": "repository_url" }, { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "locked", - "converting", - "transferring" - ] + "name": "updated_at" }, { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + 15, + 1, + 2, + 3, + 4, + 6 + ], + "action": "answered" + }, + "category_changed": { + "bodyParameters": [ + 0, + { + "name": "changes", + "childParamsGroups": [ + { + "name": "category", + "childParamsGroups": [ + { + "name": "from", + "childParamsGroups": [ + { + "name": "created_at" + }, + { + "name": "description" + }, + { + "name": "emoji" + }, + { + "name": "id" + }, + { + "name": "is_answerable" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "repository_id" + }, + { + "name": "slug" + }, + { + "name": "updated_at" + } ] + } + ] + } + ] + }, + 15, + 1, + 2, + 3, + 4, + 6 + ], + "action": "category_changed" + }, + "created": { + "bodyParameters": [ + 0, + { + "name": "discussion", + "childParamsGroups": [ + { + "name": "active_lock_reason" + }, + { + "name": "answer_chosen_at" + }, + { + "name": "answer_chosen_by", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "answer_html_url" + }, + { + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "body" + }, + { + "name": "category", + "childParamsGroups": [ + { + "name": "created_at" + }, + { + "name": "description" + }, + { + "name": "emoji" + }, + { + "name": "id" + }, + { + "name": "is_answerable" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "repository_id" + }, + { + "name": "slug" + }, + { + "name": "updated_at" + } + ] + }, + { + "name": "comments" + }, + { + "name": "created_at" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "locked" + }, + { + "name": "node_id" + }, + { + "name": "number" + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "repository_url" + }, + { + "name": "state" + }, + { + "name": "timeline_url" + }, + { + "name": "title" + }, + { + "name": "updated_at" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "active_lock_reason" + }, + { + "name": "answer_chosen_at" + }, + { + "name": "answer_chosen_by" + }, + { + "name": "answer_html_url" + }, + { + "name": "author_association" + }, + { + "name": "body" + }, + { + "name": "category", + "childParamsGroups": [ + { + "name": "created_at" + }, + { + "name": "description" + }, + { + "name": "emoji" + }, + { + "name": "id" + }, + { + "name": "is_answerable" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "repository_id" + }, + { + "name": "slug" + }, + { + "name": "updated_at" + } + ] + }, + { + "name": "comments" + }, + { + "name": "created_at" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "locked" + }, + { + "name": "node_id" + }, + { + "name": "number" + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "repository_url" + }, + { + "name": "state" + }, + { + "name": "timeline_url" + }, + { + "name": "title" + }, + { + "name": "updated_at" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -10398,480 +1725,619 @@ }, 1, 2, - 26, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "labeled", - "category": "discussion" + "action": "created" }, - "locked": { - "description": "A discussion was locked.", - "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.", + "deleted": { "bodyParameters": [ - 27, - 24, + 0, + 15, 1, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "locked", - "category": "discussion" + "action": "deleted" }, - "pinned": { - "description": "A discussion was pinned.", - "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.", + "edited": { "bodyParameters": [ - 28, - 24, - 1, - 2, - 3, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "pinned", - "category": "discussion" - }, - "transferred": { - "description": "A discussion was transferred to another repository.", - "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.", - "bodyParameters": [ - 29, + 0, { - "type": "object", "name": "changes", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", - "name": "new_discussion", - "isRequired": true, + "name": "body", "childParamsGroups": [ { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true + "name": "from" + } + ] + }, + { + "name": "title", + "childParamsGroups": [ + { + "name": "from" + } + ] + } + ] + }, + 15, + 1, + 2, + 3, + 4, + 6 + ], + "action": "edited" + }, + "labeled": { + "bodyParameters": [ + 0, + { + "name": "discussion", + "childParamsGroups": [ + { + "name": "active_lock_reason" + }, + { + "name": "answer_chosen_at" + }, + { + "name": "answer_chosen_by", + "childParamsGroups": [ + { + "name": "avatar_url" }, { - "type": "string or null", - "name": "answer_chosen_at", - "isRequired": true + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "answer_html_url" + }, + { + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "body" + }, + { + "name": "category", + "childParamsGroups": [ + { + "name": "created_at" + }, + { + "name": "description" + }, + { + "name": "emoji" + }, + { + "name": "id" + }, + { + "name": "is_answerable" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "repository_id" + }, + { + "name": "slug" + }, + { + "name": "updated_at" + } + ] + }, + { + "name": "comments" + }, + { + "name": "created_at" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "locked" + }, + { + "name": "node_id" + }, + { + "name": "number" + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "repository_url" + }, + { + "name": "state" + }, + { + "name": "timeline_url" + }, + { + "name": "title" + }, + { + "name": "updated_at" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + 1, + 2, + 16, + 3, + 4, + 6 + ], + "action": "labeled" + }, + "locked": { + "bodyParameters": [ + 0, + 15, + 1, + 2, + 3, + 4, + 6 + ], + "action": "locked" + }, + "pinned": { + "bodyParameters": [ + 0, + 15, + 1, + 2, + 3, + 4, + 6 + ], + "action": "pinned" + }, + "transferred": { + "bodyParameters": [ + 0, + { + "name": "changes", + "childParamsGroups": [ + { + "name": "new_discussion", + "childParamsGroups": [ + { + "name": "active_lock_reason" + }, + { + "name": "answer_chosen_at" }, { - "type": "object or null", "name": "answer_chosen_by", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string or null", - "name": "answer_html_url", - "isRequired": true + "name": "answer_html_url" }, { - "type": "string", "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] + "description": "How the author is associated with the repository." }, { - "type": "string", - "name": "body", - "isRequired": true + "name": "body" }, { - "type": "object", "name": "category", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string", - "name": "emoji", - "isRequired": true + "name": "emoji" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "boolean", - "name": "is_answerable", - "isRequired": true + "name": "is_answerable" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "repository_id" + }, + { + "name": "slug" + }, + { + "name": "updated_at" + } + ] + }, + { + "name": "comments" + }, + { + "name": "created_at" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "locked" + }, + { + "name": "node_id" + }, + { + "name": "number" + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "repository_url" + }, + { + "name": "state" + }, + { + "name": "timeline_url" + }, + { + "name": "title" + }, + { + "name": "updated_at" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "repository_id", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "locked", - "converting", - "transferring" - ] - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -10879,628 +2345,398 @@ ] }, { - "type": "object", "name": "new_repository", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "boolean", "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false + "description": "Whether discussions are enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" } @@ -11508,257 +2744,155 @@ } ] }, - 24, + 15, 1, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "transferred", - "category": "discussion" + "action": "transferred" }, "unanswered": { - "description": "A comment on the discussion was unmarked as the answer.", - "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.", "bodyParameters": [ + 0, + 15, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "unanswered" - ] - }, - 24, - { - "type": "object", "name": "old_answer", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] + "description": "How the author is associated with the repository." }, { - "type": "string", - "name": "body", - "isRequired": true + "name": "body" }, { - "type": "integer", - "name": "child_comment_count", - "isRequired": true + "name": "child_comment_count" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "integer", - "name": "discussion_id", - "isRequired": true + "name": "discussion_id" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "null", - "name": "parent_id", - "isRequired": true + "name": "parent_id" }, { - "type": "object", "name": "reactions", "childParamsGroups": [ { - "type": "integer", - "name": "+1", - "isRequired": true + "name": "+1" }, { - "type": "integer", - "name": "-1", - "isRequired": true + "name": "-1" }, { - "type": "integer", - "name": "confused", - "isRequired": true + "name": "confused" }, { - "type": "integer", - "name": "eyes", - "isRequired": true + "name": "eyes" }, { - "type": "integer", - "name": "heart", - "isRequired": true + "name": "heart" }, { - "type": "integer", - "name": "hooray", - "isRequired": true + "name": "hooray" }, { - "type": "integer", - "name": "laugh", - "isRequired": true + "name": "laugh" }, { - "type": "integer", - "name": "rocket", - "isRequired": true + "name": "rocket" }, { - "type": "integer", - "name": "total_count", - "isRequired": true + "name": "total_count" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "repository_url", - "isRequired": true + "name": "repository_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -11767,1175 +2901,786 @@ }, 3, 4, - 30 + 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "unanswered", - "category": "discussion" + "action": "unanswered" }, "unlabeled": { - "description": "A label was removed from a discussion.", - "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.", "bodyParameters": [ - 31, - 24, + 0, + 15, 1, 2, - 26, + 16, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "unlabeled", - "category": "discussion" + "action": "unlabeled" }, "unlocked": { - "description": "A discussion was unlocked.", - "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.", "bodyParameters": [ - 32, - 24, + 0, + 15, 1, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "unlocked", - "category": "discussion" + "action": "unlocked" }, "unpinned": { - "description": "A discussion was unpinned.", - "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.", "bodyParameters": [ - 33, - 24, + 0, + 15, 1, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "unpinned", - "category": "discussion" + "action": "unpinned" } }, "discussion_comment": { "created": { - "description": "A comment on a discussion was created.", - "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.", "bodyParameters": [ 0, - 34, - 24, + 17, + 15, 1, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "discussion_comment" + "action": "created" }, "deleted": { - "description": "A comment on a discussion was deleted.", - "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.", "bodyParameters": [ - 7, - 34, - 24, + 0, + 17, + 15, 1, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "deleted", - "category": "discussion_comment" + "action": "deleted" }, "edited": { - "description": "A comment on a discussion was edited.", - "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.", "bodyParameters": [ - 8, + 0, { - "type": "object", "name": "changes", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "from", - "isRequired": true + "name": "from" } ] } ] }, - 34, - 24, + 17, + 15, 1, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "discussion_comment" + "action": "edited" } }, "fork": { "default": { - "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.", "bodyParameters": [ 1, { - "type": "object", "name": "forkee", - "in": "body", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" }, { - "type": "boolean", "name": "allow_forking" }, { - "type": "string", "name": "archive_url" }, { - "type": "boolean", "name": "archived" }, { - "type": "string", "name": "assignees_url" }, { - "type": "string", "name": "blobs_url" }, { - "type": "string", "name": "branches_url" }, { - "type": "string", "name": "clone_url" }, { - "type": "string", "name": "collaborators_url" }, { - "type": "string", "name": "comments_url" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "compare_url" }, { - "type": "string", "name": "contents_url" }, { - "type": "string", "name": "contributors_url" }, { - "type": "string", "name": "created_at" }, { - "type": "string", "name": "default_branch" }, { - "type": "string", "name": "deployments_url" }, { - "type": "string or null", "name": "description" }, { - "type": "boolean", "name": "disabled" }, { - "type": "string", "name": "downloads_url" }, { - "type": "string", "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "enum": [ - true - ] + "name": "fork" }, { - "type": "integer", "name": "forks" }, { - "type": "integer", "name": "forks_count" }, { - "type": "string", "name": "forks_url" }, { - "type": "string", "name": "full_name" }, { - "type": "string", "name": "git_commits_url" }, { - "type": "string", "name": "git_refs_url" }, { - "type": "string", "name": "git_tags_url" }, { - "type": "string", "name": "git_url" }, { - "type": "boolean", "name": "has_downloads" }, { - "type": "boolean", "name": "has_issues" }, { - "type": "boolean", "name": "has_pages" }, { - "type": "boolean", "name": "has_projects" }, { - "type": "boolean", "name": "has_wiki" }, { - "type": "string or null", "name": "homepage" }, { - "type": "string", "name": "hooks_url" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", "name": "issue_comment_url" }, { - "type": "string", "name": "issue_events_url" }, { - "type": "string", "name": "issues_url" }, { - "type": "string", "name": "keys_url" }, { - "type": "string", "name": "labels_url" }, { - "type": "null", "name": "language" }, { - "type": "string", "name": "languages_url" }, { - "type": "object or null", "name": "license" }, { - "type": "string", "name": "merges_url" }, { - "type": "string", "name": "milestones_url" }, { - "type": "null", "name": "mirror_url" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "notifications_url" }, { - "type": "integer", "name": "open_issues" }, { - "type": "integer", "name": "open_issues_count" }, { - "type": "object", "name": "owner", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "boolean", "name": "private" }, { - "type": "boolean", "name": "public" }, { - "type": "string", "name": "pulls_url" }, { - "type": "string", "name": "pushed_at" }, { - "type": "string", "name": "releases_url" }, { - "type": "integer", "name": "size" }, { - "type": "string", "name": "ssh_url" }, { - "type": "integer", "name": "stargazers_count" }, { - "type": "string", "name": "stargazers_url" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "subscribers_url" }, { - "type": "string", "name": "subscription_url" }, { - "type": "string", "name": "svn_url" }, { - "type": "string", "name": "tags_url" }, { - "type": "string", "name": "teams_url" }, { - "type": "array", "name": "topics" }, { - "type": "string", "name": "trees_url" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "string", "name": "visibility" }, { - "type": "integer", "name": "watchers" }, { - "type": "integer", "name": "watchers_count" } ] @@ -12945,9285 +3690,165 @@ 4, 6 ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "default", - "category": "fork" - } - }, - "github_app_authorization": { - "revoked": { - "description": "Someone revoked their authorization of a GitHub App.", - "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/).\"", - "bodyParameters": [ - 35, - 1, - 2, - 3, - 36, - 6 - ], - "availability": [ - "app" - ], - "action": "revoked", - "category": "github_app_authorization" + "action": "default" } }, "gollum": { "default": { - "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.", "bodyParameters": [ 1, 2, 3, { - "type": "array of objects", "name": "pages", - "in": "body", "description": "The pages that were updated.", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "action", - "description": "The action that was performed on the page. Can be `created` or `edited`.", - "isRequired": true, - "enum": [ - "created", - "edited" - ] + "description": "The action that was performed on the page. Can be `created` or `edited`." }, { - "type": "string", "name": "html_url", - "description": "Points to the HTML wiki page.", - "isRequired": true + "description": "Points to the HTML wiki page." }, { - "type": "string", "name": "page_name", - "description": "The name of the page.", - "isRequired": true + "description": "The name of the page." }, { - "type": "string", "name": "sha", - "description": "The latest commit SHA of the page.", - "isRequired": true + "description": "The latest commit SHA of the page." }, { - "type": "string or null", - "name": "summary", - "isRequired": true + "name": "summary" }, { - "type": "string", "name": "title", - "description": "The current page title.", - "isRequired": true + "description": "The current page title." } ] }, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "default", - "category": "gollum" - } - }, - "installation": { - "created": { - "description": "Someone installed a GitHub App on a user or organization account.", - "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.", - "bodyParameters": [ - 0, - 1, - 37, - 3, - 38, - 36, - { - "type": "object or null", - "name": "requester", - "in": "body", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - 6 - ], - "availability": [ - "app" - ], - "action": "created", - "category": "installation" - }, - "deleted": { - "description": "Someone uninstalled a GitHub App from their user or organization account.", - "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.", - "bodyParameters": [ - 7, - 1, - 37, - 3, - 38, - 36, - 39, - 6 - ], - "availability": [ - "app" - ], - "action": "deleted", - "category": "installation" - }, - "new_permissions_accepted": { - "description": "Someone granted new permissions to a GitHub App.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "new_permissions_accepted" - ] - }, - 1, - 37, - 3, - 38, - 36, - 39, - 6 - ], - "availability": [ - "app" - ], - "action": "new_permissions_accepted", - "category": "installation" - }, - "suspend": { - "description": "Someone blocked access by a GitHub App to their user or organization account.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "suspend" - ] - }, - 1, - 37, - 3, - 38, - 36, - 39, - 6 - ], - "availability": [ - "app" - ], - "action": "suspend", - "category": "installation" - }, - "unsuspend": { - "description": "A GitHub App that was blocked from accessing a user or organization account was given access the account again.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "unsuspend" - ] - }, - 1, - 37, - 3, - 38, - 36, - 39, - 6 - ], - "availability": [ - "app" - ], - "action": "unsuspend", - "category": "installation" - } - }, - "installation_repositories": { - "added": { - "description": "A GitHub App installation was granted access to one or more repositories.", - "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.", - "bodyParameters": [ - 40, - 1, - 37, - 3, - 41, - { - "type": "array of objects", - "name": "repositories_removed", - "in": "body", - "description": "An array of repository objects, which were removed from the installation.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "full_name" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository" - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository." - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public." - } - ] - }, - 36, - 42, - 43, - 6 - ], - "availability": [ - "app" - ], - "action": "added", - "category": "installation_repositories" - }, - "removed": { - "description": "Access to one or more repositories was revoked for a GitHub App installation.", - "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.", - "bodyParameters": [ - 44, - 1, - 37, - 3, - 41, - { - "type": "array of objects", - "name": "repositories_removed", - "in": "body", - "description": "An array of repository objects, which were removed from the installation.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - } - ] - }, - 36, - 42, - 43, - 6 - ], - "availability": [ - "app" - ], - "action": "removed", - "category": "installation_repositories" - } - }, - "installation_target": { - "default": { - "description": "Somebody renamed the user or organization account that a GitHub App is installed on.", - "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.", - "bodyParameters": [ - { - "type": "object", - "name": "account", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "null", - "name": "description" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "integer", - "name": "followers" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "integer", - "name": "following" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "boolean", - "name": "has_organization_projects" - }, - { - "type": "boolean", - "name": "has_repository_projects" - }, - { - "type": "string", - "name": "hooks_url" - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_verified" - }, - { - "type": "string", - "name": "issues_url" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "integer", - "name": "public_gists" - }, - { - "type": "string", - "name": "public_members_url" - }, - { - "type": "integer", - "name": "public_repos" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "null", - "name": "website_url" - } - ] - }, - 45, - { - "type": "object", - "name": "changes", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "login", - "childParamsGroups": [ - { - "type": "string", - "name": "from", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "slug", - "childParamsGroups": [ - { - "type": "string", - "name": "from", - "isRequired": true - } - ] - } - ] - }, - 1, - 46, - 3, - 36, - 30, - { - "type": "string", - "name": "target_type", - "in": "body", - "isRequired": true - } - ], - "availability": [ - "app" - ], - "action": "default", - "category": "installation_target" + "action": "default" } }, "issue_comment": { "created": { - "description": "A comment on an issue or pull request was created.", - "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.", "bodyParameters": [ 0, - { - "type": "object", - "name": "comment", - "in": "body", - "description": "The [comment](https://docs.github.com/rest/reference/issues#comments) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string", - "name": "body", - "description": "Contents of the issue comment", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the issue comment", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "description": "A GitHub user.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "issues" - }, - { - "type": "string", - "name": "checks" - }, - { - "type": "string", - "name": "metadata" - }, - { - "type": "string", - "name": "contents" - }, - { - "type": "string", - "name": "deployments" - } - ] - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app", - "isRequired": true - }, - { - "type": "integer", - "name": "installations_count", - "description": "The number of installations associated with the GitHub app" - }, - { - "type": "string", - "name": "client_id" - }, - { - "type": "string", - "name": "client_secret" - }, - { - "type": "string or null", - "name": "webhook_secret" - }, - { - "type": "string", - "name": "pem" - } - ] - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the issue comment", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 18, 1, 2, - { - "type": "object", - "name": "issue", - "in": "body", - "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "description": "Contents of the issue", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write", - "admin" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write", - "admin" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "childParamsGroups": [ - { - "type": "string", - "name": "diff_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string or null", - "name": "merged_at" - }, - { - "type": "string", - "name": "patch_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string or null", - "name": "state_reason" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "description": "Title of the issue", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the issue", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason" - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees" - }, - { - "type": "string", - "name": "author_association" - }, - { - "type": "string or null", - "name": "body" - }, - { - "type": "string or null", - "name": "closed_at" - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "object or null", - "name": "milestone" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "number" - }, - { - "type": "object or null", - "name": "performed_via_github_app" - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1" - }, - { - "type": "integer", - "name": "-1" - }, - { - "type": "integer", - "name": "confused" - }, - { - "type": "integer", - "name": "eyes" - }, - { - "type": "integer", - "name": "heart" - }, - { - "type": "integer", - "name": "hooray" - }, - { - "type": "integer", - "name": "laugh" - }, - { - "type": "integer", - "name": "rocket" - }, - { - "type": "integer", - "name": "total_count" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "repository_url" - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title" - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "object", - "name": "user", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 19, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "issue_comment" + "action": "created" }, "deleted": { - "description": "A comment on an issue or pull request was deleted.", - "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.", "bodyParameters": [ - 7, - 47, + 0, + 18, 1, 2, - { - "type": "object", - "name": "issue", - "in": "body", - "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "description": "Contents of the issue", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "childParamsGroups": [ - { - "type": "string", - "name": "diff_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string or null", - "name": "merged_at" - }, - { - "type": "string", - "name": "patch_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string or null", - "name": "state_reason" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "description": "Title of the issue", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the issue", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason" - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees" - }, - { - "type": "string", - "name": "author_association" - }, - { - "type": "string or null", - "name": "body" - }, - { - "type": "string or null", - "name": "closed_at" - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "object or null", - "name": "milestone" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "number" - }, - { - "type": "object or null", - "name": "performed_via_github_app" - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1" - }, - { - "type": "integer", - "name": "-1" - }, - { - "type": "integer", - "name": "confused" - }, - { - "type": "integer", - "name": "eyes" - }, - { - "type": "integer", - "name": "heart" - }, - { - "type": "integer", - "name": "hooray" - }, - { - "type": "integer", - "name": "laugh" - }, - { - "type": "integer", - "name": "rocket" - }, - { - "type": "integer", - "name": "total_count" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "repository_url" - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title" - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "object", - "name": "user", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 19, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "deleted", - "category": "issue_comment" + "action": "deleted" }, "edited": { - "description": "A comment on an issue or pull request was edited.", - "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.", "bodyParameters": [ - 8, - 48, - 47, + 0, + 20, + 18, 1, 2, - { - "type": "object", - "name": "issue", - "in": "body", - "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "description": "Contents of the issue", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write", - "admin" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "childParamsGroups": [ - { - "type": "string", - "name": "diff_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string or null", - "name": "merged_at" - }, - { - "type": "string", - "name": "patch_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string or null", - "name": "state_reason" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "description": "Title of the issue", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the issue", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason" - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees" - }, - { - "type": "string", - "name": "author_association" - }, - { - "type": "string or null", - "name": "body" - }, - { - "type": "string or null", - "name": "closed_at" - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "object or null", - "name": "milestone" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "number" - }, - { - "type": "object or null", - "name": "performed_via_github_app" - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1" - }, - { - "type": "integer", - "name": "-1" - }, - { - "type": "integer", - "name": "confused" - }, - { - "type": "integer", - "name": "eyes" - }, - { - "type": "integer", - "name": "heart" - }, - { - "type": "integer", - "name": "hooray" - }, - { - "type": "integer", - "name": "laugh" - }, - { - "type": "integer", - "name": "rocket" - }, - { - "type": "integer", - "name": "total_count" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "repository_url" - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title" - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "object", - "name": "user", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 19, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "issue_comment" + "action": "edited" } }, "issues": { "assigned": { - "description": "An issue was assigned to a user.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "description": "The action that was performed.", - "isRequired": true, - "enum": [ - "assigned" - ] - }, - { - "type": "object or null", - "name": "assignee", - "in": "body", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, + 21, + 22, 1, 2, - 49, + 23, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "assigned", - "category": "issues" + "action": "assigned" }, "closed": { - "description": "An issue was closed.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "description": "The action that was performed.", - "isRequired": true, - "enum": [ - "closed" - ] - }, + 21, 1, 2, - { - "type": "object", - "name": "issue", - "in": "body", - "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "description": "Contents of the issue", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write", - "admin" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "childParamsGroups": [ - { - "type": "string", - "name": "diff_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string or null", - "name": "merged_at" - }, - { - "type": "string", - "name": "patch_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string or null", - "name": "state_reason" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "description": "Title of the issue", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the issue", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason" - }, - { - "type": "object or null", - "name": "assignee" - }, - { - "type": "array of objects", - "name": "assignees" - }, - { - "type": "string", - "name": "author_association" - }, - { - "type": "string or null", - "name": "body" - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "array of objects", - "name": "labels" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "number" - }, - { - "type": "object or null", - "name": "performed_via_github_app" - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1" - }, - { - "type": "integer", - "name": "-1" - }, - { - "type": "integer", - "name": "confused" - }, - { - "type": "integer", - "name": "eyes" - }, - { - "type": "integer", - "name": "heart" - }, - { - "type": "integer", - "name": "hooray" - }, - { - "type": "integer", - "name": "laugh" - }, - { - "type": "integer", - "name": "rocket" - }, - { - "type": "integer", - "name": "total_count" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "repository_url" - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "closed", - "open" - ] - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title" - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "object", - "name": "user", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 24, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "closed", - "category": "issues" + "action": "closed" }, "deleted": { - "description": "An issue was deleted.", - "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.", "bodyParameters": [ - 7, + 0, 1, 2, - 50, + 23, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "deleted", - "category": "issues" + "action": "deleted" }, "demilestoned": { - "description": "An issue was removed from a milestone.", - "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.", "bodyParameters": [ - 51, + 0, 1, 2, - { - "type": "object", - "name": "issue", - "in": "body", - "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "description": "Contents of the issue", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write", - "admin" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "childParamsGroups": [ - { - "type": "string", - "name": "diff_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string or null", - "name": "merged_at" - }, - { - "type": "string", - "name": "patch_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string or null", - "name": "state_reason" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "description": "Title of the issue", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the issue", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason" - }, - { - "type": "object or null", - "name": "assignee" - }, - { - "type": "array of objects", - "name": "assignees" - }, - { - "type": "string", - "name": "author_association" - }, - { - "type": "string or null", - "name": "body" - }, - { - "type": "string or null", - "name": "closed_at" - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "array of objects", - "name": "labels" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "number" - }, - { - "type": "object or null", - "name": "performed_via_github_app" - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1" - }, - { - "type": "integer", - "name": "-1" - }, - { - "type": "integer", - "name": "confused" - }, - { - "type": "integer", - "name": "eyes" - }, - { - "type": "integer", - "name": "heart" - }, - { - "type": "integer", - "name": "hooray" - }, - { - "type": "integer", - "name": "laugh" - }, - { - "type": "integer", - "name": "rocket" - }, - { - "type": "integer", - "name": "total_count" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "repository_url" - }, - { - "type": "string", - "name": "state" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title" - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "object", - "name": "user", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "object", - "name": "milestone", - "in": "body", - "description": "A collection of related issues and pull requests.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, + 25, + 26, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "demilestoned", - "category": "issues" + "action": "demilestoned" }, "edited": { - "description": "The title or body on an issue was edited.", - "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.", "bodyParameters": [ - 8, + 0, { - "type": "object", "name": "changes", - "in": "body", "description": "The changes to the issue.", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "body", "childParamsGroups": [ { - "type": "string", "name": "from", - "description": "The previous version of the body.", - "isRequired": true + "description": "The previous version of the body." } ] }, { - "type": "object", "name": "title", "childParamsGroups": [ { - "type": "string", "name": "from", - "description": "The previous version of the title.", - "isRequired": true + "description": "The previous version of the title." } ] } @@ -22231,8799 +3856,758 @@ }, 1, 2, - 49, - 52, + 23, + 16, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "issues" + "action": "edited" }, "labeled": { - "description": "A label was added to an issue.", - "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.", "bodyParameters": [ - 25, + 0, 1, 2, - 49, - 52, + 23, + 16, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "labeled", - "category": "issues" + "action": "labeled" }, "locked": { - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", - "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.", "bodyParameters": [ - 27, + 0, 1, 2, - { - "type": "object", - "name": "issue", - "in": "body", - "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "description": "Contents of the issue", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "childParamsGroups": [ - { - "type": "string", - "name": "diff_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string or null", - "name": "merged_at" - }, - { - "type": "string", - "name": "patch_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string or null", - "name": "state_reason" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "description": "Title of the issue", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the issue", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee" - }, - { - "type": "array of objects", - "name": "assignees" - }, - { - "type": "string", - "name": "author_association" - }, - { - "type": "string or null", - "name": "body" - }, - { - "type": "string or null", - "name": "closed_at" - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "array of objects", - "name": "labels" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true, - "enum": [ - true - ] - }, - { - "type": "object or null", - "name": "milestone" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "number" - }, - { - "type": "object or null", - "name": "performed_via_github_app" - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1" - }, - { - "type": "integer", - "name": "-1" - }, - { - "type": "integer", - "name": "confused" - }, - { - "type": "integer", - "name": "eyes" - }, - { - "type": "integer", - "name": "heart" - }, - { - "type": "integer", - "name": "hooray" - }, - { - "type": "integer", - "name": "laugh" - }, - { - "type": "integer", - "name": "rocket" - }, - { - "type": "integer", - "name": "total_count" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "repository_url" - }, - { - "type": "string", - "name": "state" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title" - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "object", - "name": "user", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 24, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "locked", - "category": "issues" + "action": "locked" }, "milestoned": { - "description": "An issue was added to a milestone.", - "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.", "bodyParameters": [ - 53, + 0, 1, 2, - { - "type": "object", - "name": "issue", - "in": "body", - "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "description": "Contents of the issue", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write", - "admin" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "childParamsGroups": [ - { - "type": "string", - "name": "diff_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string or null", - "name": "merged_at" - }, - { - "type": "string", - "name": "patch_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string or null", - "name": "state_reason" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "description": "Title of the issue", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the issue", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason" - }, - { - "type": "object or null", - "name": "assignee" - }, - { - "type": "array of objects", - "name": "assignees" - }, - { - "type": "string", - "name": "author_association" - }, - { - "type": "string or null", - "name": "body" - }, - { - "type": "string or null", - "name": "closed_at" - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "array of objects", - "name": "labels" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "number" - }, - { - "type": "object or null", - "name": "performed_via_github_app" - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1" - }, - { - "type": "integer", - "name": "-1" - }, - { - "type": "integer", - "name": "confused" - }, - { - "type": "integer", - "name": "eyes" - }, - { - "type": "integer", - "name": "heart" - }, - { - "type": "integer", - "name": "hooray" - }, - { - "type": "integer", - "name": "laugh" - }, - { - "type": "integer", - "name": "rocket" - }, - { - "type": "integer", - "name": "total_count" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "repository_url" - }, - { - "type": "string", - "name": "state" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title" - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "object", - "name": "user", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - 54, + 25, + 26, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "milestoned", - "category": "issues" + "action": "milestoned" }, "opened": { - "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", - "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.", "bodyParameters": [ - 55, + 0, { - "type": "object", "name": "changes", - "in": "body", "childParamsGroups": [ { - "type": "object or null", "name": "old_issue", "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] + "name": "active_lock_reason" }, { - "type": "object or null", "name": "assignee", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "array of objects", "name": "assignees", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] + "description": "How the author is associated with the repository." }, { - "type": "string or null", "name": "body", - "description": "Contents of the issue", - "isRequired": true + "description": "Contents of the issue" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", - "name": "comments", - "isRequired": true + "name": "comments" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "boolean", "name": "draft" }, { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "childParamsGroups": [ - { - "type": "string", - "name": "diff_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string or null", - "name": "merged_at" - }, - { - "type": "string", - "name": "patch_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string or null", - "name": "state_reason" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "description": "Title of the issue", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the issue", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "object", - "name": "old_repository", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - } - ] - } - ] - }, - 1, - 2, - { - "type": "object", - "name": "issue", - "in": "body", - "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", "name": "events_url" }, { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "description": "Contents of the issue", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write", - "admin" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "childParamsGroups": [ - { - "type": "string", - "name": "diff_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string or null", - "name": "merged_at" - }, - { - "type": "string", - "name": "patch_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string or null", - "name": "state_reason" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "description": "Title of the issue", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the issue", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - 3, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "opened", - "category": "issues" - }, - "pinned": { - "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).\"", - "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.", - "bodyParameters": [ - 28, - 1, - 2, - 50, - 3, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "pinned", - "category": "issues" - }, - "reopened": { - "description": "A closed issue was reopened.", - "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.", - "bodyParameters": [ - 17, - 1, - 2, - { - "type": "object", - "name": "issue", - "in": "body", - "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "description": "Contents of the issue", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write", - "admin" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write", - "admin" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "childParamsGroups": [ - { - "type": "string", - "name": "diff_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string or null", - "name": "merged_at" - }, - { - "type": "string", - "name": "patch_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string or null", - "name": "state_reason" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "description": "Title of the issue", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the issue", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason" - }, - { - "type": "object or null", - "name": "assignee" - }, - { - "type": "array of objects", - "name": "assignees" - }, - { - "type": "string", - "name": "author_association" - }, - { - "type": "string or null", - "name": "body" - }, - { - "type": "string or null", - "name": "closed_at" - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "array of objects", - "name": "labels" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "number" - }, - { - "type": "object or null", - "name": "performed_via_github_app" - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1" - }, - { - "type": "integer", - "name": "-1" - }, - { - "type": "integer", - "name": "confused" - }, - { - "type": "integer", - "name": "eyes" - }, - { - "type": "integer", - "name": "heart" - }, - { - "type": "integer", - "name": "hooray" - }, - { - "type": "integer", - "name": "laugh" - }, - { - "type": "integer", - "name": "rocket" - }, - { - "type": "integer", - "name": "total_count" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "repository_url" - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title" - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "object", - "name": "user", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", "name": "id" }, { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - 3, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "reopened", - "category": "issues" - }, - "transferred": { - "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).\"", - "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.", - "bodyParameters": [ - 29, - { - "type": "object", - "name": "changes", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "new_issue", - "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "description": "Contents of the issue", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of objects", "name": "labels", "childParamsGroups": [ { - "type": "string", "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true + "description": "6-character hex code, without the leading #, identifying the color" }, { - "type": "boolean", - "name": "default", - "isRequired": true + "name": "default" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", "name": "name", - "description": "The name of the label.", - "isRequired": true + "description": "The name of the label." }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "url", - "description": "URL for the label", - "isRequired": true + "description": "URL for the label" } ] }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "boolean", "name": "locked" }, { - "type": "object or null", "name": "milestone", "description": "A collection of related issues and pull requests.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", - "name": "closed_issues", - "isRequired": true + "name": "closed_issues" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "object or null", "name": "creator", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string or null", - "name": "due_on", - "isRequired": true + "name": "due_on" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", "name": "number", - "description": "The number of the milestone.", - "isRequired": true + "description": "The number of the milestone." }, { - "type": "integer", - "name": "open_issues", - "isRequired": true + "name": "open_issues" }, { - "type": "string", "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "description": "The state of the milestone." }, { - "type": "string", "name": "title", - "description": "The title of the milestone.", - "isRequired": true + "description": "The title of the milestone." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", - "name": "number", - "isRequired": true + "name": "number" }, { - "type": "object or null", "name": "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.", "childParamsGroups": [ { - "type": "string or null", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "array of strings", "name": "events", "description": "The list of events for the GitHub app" }, { - "type": "string or null", - "name": "external_url", - "isRequired": true + "name": "external_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer or null", "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true + "description": "Unique identifier of the GitHub app" }, { - "type": "string", "name": "name", - "description": "The name of the GitHub app", - "isRequired": true + "description": "The name of the GitHub app" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "object or null", "name": "owner", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "description": "The set of permissions for the GitHub app", "childParamsGroups": [ { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] + "name": "actions" }, { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] + "name": "administration" }, { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] + "name": "checks" }, { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] + "name": "content_references" }, { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] + "name": "contents" }, { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] + "name": "deployments" }, { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] + "name": "discussions" }, { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] + "name": "emails" }, { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] + "name": "environments" }, { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] + "name": "issues" }, { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] + "name": "keys" }, { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] + "name": "members" }, { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] + "name": "metadata" }, { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] + "name": "organization_administration" }, { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] + "name": "organization_hooks" }, { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] + "name": "organization_packages" }, { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] + "name": "organization_plan" }, { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write" - ] + "name": "organization_projects" }, { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] + "name": "organization_secrets" }, { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] + "name": "organization_self_hosted_runners" }, { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] + "name": "organization_user_blocking" }, { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] + "name": "packages" }, { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] + "name": "pages" }, { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] + "name": "pull_requests" }, { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] + "name": "repository_hooks" }, { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write" - ] + "name": "repository_projects" }, { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] + "name": "secret_scanning_alerts" }, { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] + "name": "secrets" }, { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] + "name": "security_events" }, { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] + "name": "security_scanning_alert" }, { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] + "name": "single_file" }, { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] + "name": "statuses" }, { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] + "name": "team_discussions" }, { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] + "name": "vulnerability_alerts" }, { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] + "name": "workflows" } ] }, { - "type": "string", "name": "slug", "description": "The slug name of the GitHub app" }, { - "type": "string or null", - "name": "updated_at", - "isRequired": true + "name": "updated_at" } ] }, { - "type": "object", "name": "pull_request", "childParamsGroups": [ { - "type": "string", "name": "diff_url" }, { - "type": "string", "name": "html_url" }, { - "type": "string or null", "name": "merged_at" }, { - "type": "string", "name": "patch_url" }, { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "reactions", - "isRequired": true, "childParamsGroups": [ { - "type": "integer", - "name": "+1", - "isRequired": true + "name": "+1" }, { - "type": "integer", - "name": "-1", - "isRequired": true + "name": "-1" }, { - "type": "integer", - "name": "confused", - "isRequired": true + "name": "confused" }, { - "type": "integer", - "name": "eyes", - "isRequired": true + "name": "eyes" }, { - "type": "integer", - "name": "heart", - "isRequired": true + "name": "heart" }, { - "type": "integer", - "name": "hooray", - "isRequired": true + "name": "hooray" }, { - "type": "integer", - "name": "laugh", - "isRequired": true + "name": "laugh" }, { - "type": "integer", - "name": "rocket", - "isRequired": true + "name": "rocket" }, { - "type": "integer", - "name": "total_count", - "isRequired": true + "name": "total_count" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "repository_url", - "isRequired": true + "name": "repository_url" }, { - "type": "string", "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "enum": [ - "open", - "closed" - ] + "description": "State of the issue; either 'open' or 'closed'" }, { - "type": "string or null", "name": "state_reason" }, { - "type": "string", "name": "timeline_url" }, { - "type": "string", "name": "title", - "description": "Title of the issue", - "isRequired": true + "description": "Title of the issue" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", "name": "url", - "description": "URL for the issue", - "isRequired": true + "description": "URL for the issue" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -31031,628 +4615,1535 @@ ] }, { - "type": "object", - "name": "new_repository", + "name": "old_repository", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false + "name": "homepage" }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" + "name": "visibility" + }, + { + "name": "watchers" + }, + { + "name": "watchers_count" + } + ] + } + ] + }, + 1, + 2, + 23, + 3, + 4, + 6 + ], + "action": "opened" + }, + "pinned": { + "bodyParameters": [ + 0, + 1, + 2, + 23, + 3, + 4, + 6 + ], + "action": "pinned" + }, + "reopened": { + "bodyParameters": [ + 0, + 1, + 2, + 24, + 3, + 4, + 6 + ], + "action": "reopened" + }, + "transferred": { + "bodyParameters": [ + 0, + { + "name": "changes", + "childParamsGroups": [ + { + "name": "new_issue", + "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", + "childParamsGroups": [ + { + "name": "active_lock_reason" + }, + { + "name": "assignee", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } ] }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "assignees", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "body", + "description": "Contents of the issue" + }, + { + "name": "closed_at" + }, + { + "name": "comments" + }, + { + "name": "comments_url" + }, + { + "name": "created_at" + }, + { + "name": "draft" + }, + { + "name": "events_url" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels", + "childParamsGroups": [ + { + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color" + }, + { + "name": "default" + }, + { + "name": "description" + }, + { + "name": "id" + }, + { + "name": "name", + "description": "The name of the label." + }, + { + "name": "node_id" + }, + { + "name": "url", + "description": "URL for the label" + } + ] + }, + { + "name": "labels_url" + }, + { + "name": "locked" + }, + { + "name": "milestone", + "description": "A collection of related issues and pull requests.", + "childParamsGroups": [ + { + "name": "closed_at" + }, + { + "name": "closed_issues" + }, + { + "name": "created_at" + }, + { + "name": "creator", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "description" + }, + { + "name": "due_on" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels_url" + }, + { + "name": "node_id" + }, + { + "name": "number", + "description": "The number of the milestone." + }, + { + "name": "open_issues" + }, + { + "name": "state", + "description": "The state of the milestone." + }, + { + "name": "title", + "description": "The title of the milestone." + }, + { + "name": "updated_at" + }, + { + "name": "url" + } + ] + }, + { + "name": "node_id" + }, + { + "name": "number" + }, + { + "name": "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.", + "childParamsGroups": [ + { + "name": "created_at" + }, + { + "name": "description" + }, + { + "name": "events", + "description": "The list of events for the GitHub app" + }, + { + "name": "external_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the GitHub app" + }, + { + "name": "name", + "description": "The name of the GitHub app" + }, + { + "name": "node_id" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "description": "The set of permissions for the GitHub app", + "childParamsGroups": [ + { + "name": "actions" + }, + { + "name": "administration" + }, + { + "name": "checks" + }, + { + "name": "content_references" + }, + { + "name": "contents" + }, + { + "name": "deployments" + }, + { + "name": "discussions" + }, + { + "name": "emails" + }, + { + "name": "environments" + }, + { + "name": "issues" + }, + { + "name": "keys" + }, + { + "name": "members" + }, + { + "name": "metadata" + }, + { + "name": "organization_administration" + }, + { + "name": "organization_hooks" + }, + { + "name": "organization_packages" + }, + { + "name": "organization_plan" + }, + { + "name": "organization_projects" + }, + { + "name": "organization_secrets" + }, + { + "name": "organization_self_hosted_runners" + }, + { + "name": "organization_user_blocking" + }, + { + "name": "packages" + }, + { + "name": "pages" + }, + { + "name": "pull_requests" + }, + { + "name": "repository_hooks" + }, + { + "name": "repository_projects" + }, + { + "name": "secret_scanning_alerts" + }, + { + "name": "secrets" + }, + { + "name": "security_events" + }, + { + "name": "security_scanning_alert" + }, + { + "name": "single_file" + }, + { + "name": "statuses" + }, + { + "name": "team_discussions" + }, + { + "name": "vulnerability_alerts" + }, + { + "name": "workflows" + } + ] + }, + { + "name": "slug", + "description": "The slug name of the GitHub app" + }, + { + "name": "updated_at" + } + ] + }, + { + "name": "pull_request", + "childParamsGroups": [ + { + "name": "diff_url" + }, + { + "name": "html_url" + }, + { + "name": "merged_at" + }, + { + "name": "patch_url" + }, + { + "name": "url" + } + ] + }, + { + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "repository_url" + }, + { + "name": "state", + "description": "State of the issue; either 'open' or 'closed'" + }, + { + "name": "state_reason" + }, + { + "name": "timeline_url" + }, + { + "name": "title", + "description": "Title of the issue" + }, + { + "name": "updated_at" + }, + { + "name": "url", + "description": "URL for the issue" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "new_repository", + "description": "A git repository", + "childParamsGroups": [ + { + "name": "allow_auto_merge", + "description": "Whether to allow auto-merge for pull requests." + }, + { + "name": "allow_forking", + "description": "Whether to allow private forks" + }, + { + "name": "allow_merge_commit", + "description": "Whether to allow merge commits for pull requests." + }, + { + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests." + }, + { + "name": "allow_squash_merge", + "description": "Whether to allow squash merges for pull requests." + }, + { + "name": "allow_update_branch" + }, + { + "name": "archive_url" + }, + { + "name": "archived", + "description": "Whether the repository is archived." + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "clone_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "created_at", + "description": "" + }, + { + "name": "default_branch", + "description": "The default branch of the repository." + }, + { + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "disabled", + "description": "Returns whether or not this repository is disabled." + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks" + }, + { + "name": "forks_count" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "git_url" + }, + { + "name": "has_downloads", + "description": "Whether downloads are enabled." + }, + { + "name": "has_issues", + "description": "Whether issues are enabled." + }, + { + "name": "has_pages" + }, + { + "name": "has_projects", + "description": "Whether projects are enabled." + }, + { + "name": "has_wiki", + "description": "Whether the wiki is enabled." + }, + { + "name": "has_discussions", + "description": "Whether discussions are enabled." + }, + { + "name": "homepage" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the repository" + }, + { + "name": "is_template" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "language" + }, + { + "name": "languages_url" + }, + { + "name": "license", + "childParamsGroups": [ + { + "name": "key" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "childParamsGroups": [ + { + "name": "admin" + }, + { + "name": "maintain" + }, + { + "name": "pull" + }, + { + "name": "push" + }, + { + "name": "triage" + } + ] + }, + { + "name": "private", + "description": "Whether the repository is private or public." + }, + { + "name": "public" + }, + { + "name": "pulls_url" + }, + { + "name": "pushed_at", + "description": "" + }, + { + "name": "releases_url" + }, + { + "name": "role_name" + }, + { + "name": "size" + }, + { + "name": "ssh_url" + }, + { + "name": "stargazers" + }, + { + "name": "stargazers_count" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "svn_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "topics" + }, + { + "name": "trees_url" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "visibility" + }, + { + "name": "watchers" + }, + { + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" } @@ -31662,1616 +6153,120 @@ }, 1, 2, - 50, + 23, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "transferred", - "category": "issues" + "action": "transferred" }, "unassigned": { - "description": "A user was unassigned from an issue.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "description": "The action that was performed.", - "isRequired": true, - "enum": [ - "unassigned" - ] - }, - 56, + 21, + 22, 1, 2, - 49, + 23, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "unassigned", - "category": "issues" + "action": "unassigned" }, "unlabeled": { - "description": "A label was removed from an issue.", - "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.", "bodyParameters": [ - 31, + 0, 1, 2, - 49, - 52, + 23, + 16, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "unlabeled", - "category": "issues" + "action": "unlabeled" }, "unlocked": { - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", - "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.", "bodyParameters": [ - 32, + 0, 1, 2, - { - "type": "object", - "name": "issue", - "in": "body", - "description": "The [issue](https://docs.github.com/rest/reference/issues) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "description": "Contents of the issue", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "locked" - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "object or null", - "name": "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.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "description": "The list of events for the GitHub app" - }, - { - "type": "string or null", - "name": "external_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "id", - "description": "Unique identifier of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the GitHub app", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "The set of permissions for the GitHub app", - "childParamsGroups": [ - { - "type": "string", - "name": "actions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "checks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "content_references", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "contents", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "deployments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "emails", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "environments", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "issues", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "keys", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "members", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "metadata", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_administration", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_plan", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_self_hosted_runners", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "organization_user_blocking", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "packages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pages", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "pull_requests", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_hooks", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "repository_projects", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secret_scanning_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "secrets", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_events", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "security_scanning_alert", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "single_file", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "statuses", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "team_discussions", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "vulnerability_alerts", - "enum": [ - "read", - "write" - ] - }, - { - "type": "string", - "name": "workflows", - "enum": [ - "read", - "write" - ] - } - ] - }, - { - "type": "string", - "name": "slug", - "description": "The slug name of the GitHub app" - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "childParamsGroups": [ - { - "type": "string", - "name": "diff_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string or null", - "name": "merged_at" - }, - { - "type": "string", - "name": "patch_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "repository_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of the issue; either 'open' or 'closed'", - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string or null", - "name": "state_reason" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title", - "description": "Title of the issue", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the issue", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "null", - "name": "active_lock_reason", - "isRequired": true - }, - { - "type": "object or null", - "name": "assignee" - }, - { - "type": "array of objects", - "name": "assignees" - }, - { - "type": "string", - "name": "author_association" - }, - { - "type": "string or null", - "name": "body" - }, - { - "type": "string or null", - "name": "closed_at" - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "array of objects", - "name": "labels" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true, - "enum": [ - false - ] - }, - { - "type": "object or null", - "name": "milestone" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "number" - }, - { - "type": "null", - "name": "performed_via_github_app" - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1" - }, - { - "type": "integer", - "name": "-1" - }, - { - "type": "integer", - "name": "confused" - }, - { - "type": "integer", - "name": "eyes" - }, - { - "type": "integer", - "name": "heart" - }, - { - "type": "integer", - "name": "hooray" - }, - { - "type": "integer", - "name": "laugh" - }, - { - "type": "integer", - "name": "rocket" - }, - { - "type": "integer", - "name": "total_count" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "repository_url" - }, - { - "type": "string", - "name": "state" - }, - { - "type": "string", - "name": "timeline_url" - }, - { - "type": "string", - "name": "title" - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "object", - "name": "user", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 24, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "unlocked", - "category": "issues" + "action": "unlocked" }, "unpinned": { - "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).\"", - "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.", "bodyParameters": [ - 33, + 0, 1, 2, - 50, + 23, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "unpinned", - "category": "issues" + "action": "unpinned" } }, "label": { "created": { - "description": "A label was created.", - "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.", "bodyParameters": [ 0, 1, 2, - 26, - 3, - 4, - 30 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "label" - }, - "deleted": { - "description": "A label was deleted.", - "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.", - "bodyParameters": [ - 7, - 1, - 2, - 26, + 16, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" + "action": "created" + }, + "deleted": { + "bodyParameters": [ + 0, + 1, + 2, + 16, + 3, + 4, + 6 ], - "action": "deleted", - "category": "label" + "action": "deleted" }, "edited": { - "description": "A label's name, description, or color was changed.", - "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.", "bodyParameters": [ - 8, + 0, { - "type": "object", "name": "changes", - "in": "body", "description": "The changes to the label if the action was `edited`.", "childParamsGroups": [ { - "type": "object", "name": "color", "childParamsGroups": [ { - "type": "string", "name": "from", - "description": "The previous version of the color if the action was `edited`.", - "isRequired": true + "description": "The previous version of the color if the action was `edited`." } ] }, { - "type": "object", "name": "description", "childParamsGroups": [ { - "type": "string", "name": "from", - "description": "The previous version of the description if the action was `edited`.", - "isRequired": true + "description": "The previous version of the description if the action was `edited`." } ] }, { - "type": "object", "name": "name", "childParamsGroups": [ { - "type": "string", "name": "from", - "description": "The previous version of the name if the action was `edited`.", - "isRequired": true + "description": "The previous version of the name if the action was `edited`." } ] } @@ -33279,1046 +6274,82 @@ }, 1, 2, - 26, + 16, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "label" - } - }, - "marketplace_purchase": { - "cancelled": { - "description": "Someone cancelled a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately.", - "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.", - "bodyParameters": [ - 57, - 58, - 1, - 2, - 59, - 3, - 60, - 36, - 6 - ], - "availability": [ - "marketplace" - ], - "action": "cancelled", - "category": "marketplace_purchase" - }, - "changed": { - "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.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "changed" - ] - }, - 58, - 1, - 2, - 59, - 3, - { - "type": "object", - "name": "previous_marketplace_purchase", - "in": "body", - "childParamsGroups": [ - { - "type": "object", - "name": "account", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "organization_billing_email", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "billing_cycle", - "isRequired": true - }, - { - "type": "string or null", - "name": "free_trial_ends_on", - "isRequired": true - }, - { - "type": "string or null", - "name": "next_billing_date" - }, - { - "type": "boolean or null", - "name": "on_free_trial", - "isRequired": true - }, - { - "type": "object", - "name": "plan", - "isRequired": true, - "childParamsGroups": [ - { - "type": "array of strings", - "name": "bullets", - "isRequired": true - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_free_trial", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "integer", - "name": "monthly_price_in_cents", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "price_model", - "isRequired": true, - "enum": [ - "FREE", - "FLAT_RATE", - "PER_UNIT" - ] - }, - { - "type": "string or null", - "name": "unit_name", - "isRequired": true - }, - { - "type": "integer", - "name": "yearly_price_in_cents", - "isRequired": true - } - ] - }, - { - "type": "integer", - "name": "unit_count", - "isRequired": true - } - ] - }, - 36, - 6 - ], - "availability": [ - "marketplace" - ], - "action": "changed", - "category": "marketplace_purchase" - }, - "pending_change": { - "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.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "pending_change" - ] - }, - 58, - 1, - 2, - 59, - 3, - { - "type": "object", - "name": "previous_marketplace_purchase", - "in": "body", - "childParamsGroups": [ - { - "type": "object", - "name": "account", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "organization_billing_email", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "billing_cycle", - "isRequired": true - }, - { - "type": "string or null", - "name": "free_trial_ends_on", - "isRequired": true - }, - { - "type": "string or null", - "name": "next_billing_date" - }, - { - "type": "boolean", - "name": "on_free_trial", - "isRequired": true - }, - { - "type": "object", - "name": "plan", - "isRequired": true, - "childParamsGroups": [ - { - "type": "array of strings", - "name": "bullets", - "isRequired": true - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_free_trial", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "integer", - "name": "monthly_price_in_cents", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "price_model", - "isRequired": true, - "enum": [ - "FREE", - "FLAT_RATE", - "PER_UNIT" - ] - }, - { - "type": "string or null", - "name": "unit_name", - "isRequired": true - }, - { - "type": "integer", - "name": "yearly_price_in_cents", - "isRequired": true - } - ] - }, - { - "type": "integer", - "name": "unit_count", - "isRequired": true - } - ] - }, - 36, - 6 - ], - "availability": [ - "marketplace" - ], - "action": "pending_change", - "category": "marketplace_purchase" - }, - "pending_change_cancelled": { - "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.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "pending_change_cancelled" - ] - }, - 58, - 1, - 2, - { - "type": "object", - "name": "marketplace_purchase", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "account", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "organization_billing_email", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "billing_cycle", - "isRequired": true - }, - { - "type": "null", - "name": "free_trial_ends_on", - "isRequired": true - }, - { - "type": "string or null", - "name": "next_billing_date" - }, - { - "type": "boolean", - "name": "on_free_trial", - "isRequired": true - }, - { - "type": "object", - "name": "plan", - "isRequired": true, - "childParamsGroups": [ - { - "type": "array of strings", - "name": "bullets", - "isRequired": true - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_free_trial", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "integer", - "name": "monthly_price_in_cents", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "price_model", - "isRequired": true, - "enum": [ - "FREE", - "FLAT_RATE", - "PER_UNIT" - ] - }, - { - "type": "string or null", - "name": "unit_name", - "isRequired": true - }, - { - "type": "integer", - "name": "yearly_price_in_cents", - "isRequired": true - } - ] - }, - { - "type": "integer", - "name": "unit_count", - "isRequired": true - }, - { - "type": "string", - "name": "next_billing_date", - "isRequired": true - } - ] - }, - 3, - 60, - 36, - 6 - ], - "availability": [ - "marketplace" - ], - "action": "pending_change_cancelled", - "category": "marketplace_purchase" - }, - "purchased": { - "description": "Someone purchased a GitHub Marketplace plan. The change will take effect on the account immediately.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "purchased" - ] - }, - 58, - 1, - 2, - 59, - 3, - 60, - 36, - 6 - ], - "availability": [ - "marketplace" - ], - "action": "purchased", - "category": "marketplace_purchase" - } - }, - "member": { - "added": { - "description": "A GitHub user accepted an invitation to a repository.", - "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.", - "bodyParameters": [ - 40, - { - "type": "object", - "name": "changes", - "in": "body", - "childParamsGroups": [ - { - "type": "object", - "name": "permission", - "childParamsGroups": [ - { - "type": "string", - "name": "to", - "isRequired": true, - "enum": [ - "write", - "admin", - "read" - ] - } - ] - } - ] - }, - 1, - 2, - 61, - 3, - 4, - 6 - ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "added", - "category": "member" - }, - "edited": { - "description": "Permissions were changed for a collaborator on a repository.", - "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.", - "bodyParameters": [ - 8, - { - "type": "object", - "name": "changes", - "in": "body", - "description": "The changes to the collaborator permissions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "old_permission", - "childParamsGroups": [ - { - "type": "string", - "name": "from", - "description": "The previous permissions of the collaborator if the action was edited.", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "permission", - "childParamsGroups": [ - { - "type": "string or null", - "name": "from" - }, - { - "type": "string or null", - "name": "to" - } - ] - } - ] - }, - 1, - 2, - 61, - 3, - 4, - 6 - ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "member" - }, - "removed": { - "description": "A collaborator was removed from a repository.", - "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.", - "bodyParameters": [ - 44, - 1, - 2, - 61, - 3, - 4, - 6 - ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "removed", - "category": "member" - } - }, - "membership": { - "added": { - "description": "An organization member was added to a team.", - "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.", - "bodyParameters": [ - 40, - 1, - 2, - 61, - 62, - 36, - { - "type": "string", - "name": "scope", - "in": "body", - "description": "The scope of the membership. Currently, can only be `team`.", - "isRequired": true, - "enum": [ - "team" - ] - }, - 63, - 64 - ], - "availability": [ - "organization", - "business", - "app" - ], - "action": "added", - "category": "membership" - }, - "removed": { - "description": "An organization member was removed from a team.", - "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.", - "bodyParameters": [ - 44, - 1, - 2, - 61, - 62, - 36, - { - "type": "string", - "name": "scope", - "in": "body", - "description": "The scope of the membership. Currently, can only be `team`.", - "isRequired": true, - "enum": [ - "team", - "organization" - ] - }, - 63, - 64 - ], - "availability": [ - "organization", - "business", - "app" - ], - "action": "removed", - "category": "membership" - } - }, - "merge_group": { - "default": { - "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.", - "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.", - "bodyParameters": [ - 45, - 2, - { - "type": "object", - "name": "merge_group", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "head_sha", - "description": "The SHA of the merge group.", - "isRequired": true - }, - { - "type": "string", - "name": "head_ref", - "description": "The full ref of the merge group.", - "isRequired": true - }, - { - "type": "string", - "name": "base_sha", - "description": "The SHA of the merge group's parent commit.", - "isRequired": true - }, - { - "type": "string", - "name": "base_ref", - "description": "The full ref of the branch the merge group will be merged into.", - "isRequired": true - }, - { - "type": "object", - "name": "head_commit", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "author", - "description": "Metaproperties for Git author/committer information.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "date" - }, - { - "type": "string or null", - "name": "email", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The git author's name.", - "isRequired": true - }, - { - "type": "string", - "name": "username" - } - ] - }, - { - "type": "object", - "name": "committer", - "description": "Metaproperties for Git author/committer information.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "date" - }, - { - "type": "string or null", - "name": "email", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The git author's name.", - "isRequired": true - }, - { - "type": "string", - "name": "username" - } - ] - }, - { - "type": "string", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "message", - "isRequired": true - }, - { - "type": "string", - "name": "timestamp", - "isRequired": true - }, - { - "type": "string", - "name": "tree_id", - "isRequired": true - } - ] - } - ] - }, - 3, - 36, - 30 - ], - "availability": [ - "app" - ], - "action": "default", - "category": "merge_group" - } - }, - "meta": { - "deleted": { - "description": "The webhook was deleted.", - "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.", - "bodyParameters": [ - 7, - 1, - { - "type": "object", - "name": "hook", - "in": "body", - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "active", - "isRequired": true - }, - { - "type": "object", - "name": "config", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "content_type", - "isRequired": true, - "enum": [ - "json", - "form" - ] - }, - { - "type": "string", - "name": "insecure_ssl", - "isRequired": true - }, - { - "type": "string", - "name": "secret" - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "array of strings", - "name": "events", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "integer", - "name": "hook_id", - "in": "body", - "description": "The id of the modified webhook.", - "isRequired": true - }, - 2, - 3, - 65, - 30 - ], - "availability": [ - "marketplace", - "business", - "repository", - "organization", - "app" - ], - "action": "deleted", - "category": "meta" + "action": "edited" } }, "milestone": { "closed": { - "description": "A milestone was closed.", - "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.", - "bodyParameters": [ - 66, - 1, - 2, - 54, - 3, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "closed", - "category": "milestone" - }, - "created": { - "description": "A milestone was created.", - "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.", "bodyParameters": [ 0, 1, 2, - 67, + 26, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "milestone" + "action": "closed" }, - "deleted": { - "description": "A milestone was deleted.", - "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.", + "created": { "bodyParameters": [ - 7, + 0, 1, 2, - 54, + 26, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" + "action": "created" + }, + "deleted": { + "bodyParameters": [ + 0, + 1, + 2, + 26, + 3, + 4, + 6 ], - "action": "deleted", - "category": "milestone" + "action": "deleted" }, "edited": { - "description": "A milestone was edited.", - "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.", "bodyParameters": [ - 8, + 0, { - "type": "object", "name": "changes", - "in": "body", "description": "The changes to the milestone if the action was `edited`.", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "description", "childParamsGroups": [ { - "type": "string", "name": "from", - "description": "The previous version of the description if the action was `edited`.", - "isRequired": true + "description": "The previous version of the description if the action was `edited`." } ] }, { - "type": "object", "name": "due_on", "childParamsGroups": [ { - "type": "string", "name": "from", - "description": "The previous version of the due date if the action was `edited`.", - "isRequired": true + "description": "The previous version of the due date if the action was `edited`." } ] }, { - "type": "object", "name": "title", "childParamsGroups": [ { - "type": "string", "name": "from", - "description": "The previous version of the title if the action was `edited`.", - "isRequired": true + "description": "The previous version of the title if the action was `edited`." } ] } @@ -34326,2579 +6357,203 @@ }, 1, 2, - 54, + 26, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "milestone" + "action": "edited" }, "opened": { - "description": "A milestone was opened.", - "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.", "bodyParameters": [ - 55, + 0, 1, 2, - 67, + 26, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "opened", - "category": "milestone" - } - }, - "org_block": { - "blocked": { - "description": "A user was blocked from the organization.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "blocked" - ] - }, - 68, - 1, - 2, - 62, - 36, - 6 - ], - "availability": [ - "organization", - "business", - "app" - ], - "action": "blocked", - "category": "org_block" - }, - "unblocked": { - "description": "A previously blocked user was unblocked from the organization.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "unblocked" - ] - }, - 68, - 1, - 2, - 62, - 36, - 6 - ], - "availability": [ - "organization", - "business", - "app" - ], - "action": "unblocked", - "category": "org_block" - } - }, - "organization": { - "deleted": { - "description": "An organization was deleted.", - "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.", - "bodyParameters": [ - 7, - 1, - 2, - 69, - 62, - 36, - 6 - ], - "availability": [ - "organization", - "business", - "app" - ], - "action": "deleted", - "category": "organization" - }, - "member_added": { - "description": "A member accepted an invitation to join an organization.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "member_added" - ] - }, - 1, - 2, - 70, - 62, - 36, - 6 - ], - "availability": [ - "organization", - "business", - "app" - ], - "action": "member_added", - "category": "organization" - }, - "member_invited": { - "description": "A member was invited to join the organization.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "member_invited" - ] - }, - 1, - 2, - { - "type": "object", - "name": "invitation", - "in": "body", - "description": "The invitation for the user or email if the action is `member_invited`.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "email", - "isRequired": true - }, - { - "type": "string or null", - "name": "failed_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "failed_reason", - "isRequired": true - }, - { - "type": "number", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "invitation_teams_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "inviter", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "role", - "isRequired": true - }, - { - "type": "number", - "name": "team_count", - "isRequired": true - }, - { - "type": "string", - "name": "invitation_source" - } - ] - }, - 62, - 36, - 6, - { - "type": "object or null", - "name": "user", - "in": "body", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ], - "availability": [ - "organization", - "business", - "app" - ], - "action": "member_invited", - "category": "organization" - }, - "member_removed": { - "description": "A member was removed from the organization.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "member_removed" - ] - }, - 1, - 2, - 70, - 62, - 36, - 6 - ], - "availability": [ - "organization", - "business", - "app" - ], - "action": "member_removed", - "category": "organization" - }, - "renamed": { - "description": "The name of an organization was changed.", - "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.", - "bodyParameters": [ - 71, - { - "type": "object", - "name": "changes", - "in": "body", - "childParamsGroups": [ - { - "type": "object", - "name": "login", - "childParamsGroups": [ - { - "type": "string", - "name": "from" - } - ] - } - ] - }, - 1, - 2, - 69, - 62, - 36, - 6 - ], - "availability": [ - "organization", - "business", - "app" - ], - "action": "renamed", - "category": "organization" - } - }, - "package": { - "published": { - "description": "A package was published to a registry.", - "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.", - "bodyParameters": [ - 72, - 1, - 2, - 3, - { - "type": "object", - "name": "package", - "in": "body", - "description": "Information about the package.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "ecosystem", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "namespace", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "package_type", - "isRequired": true - }, - { - "type": "object or null", - "name": "package_version", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object or null", - "name": "author", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or object", - "name": "body", - "description": "" - }, - { - "type": "string", - "name": "body_html" - }, - { - "type": "object or null", - "name": "container_metadata", - "childParamsGroups": [ - { - "type": "object or null", - "name": "labels" - }, - { - "type": "object or null", - "name": "manifest" - }, - { - "type": "object", - "name": "tag", - "childParamsGroups": [ - { - "type": "string", - "name": "digest" - }, - { - "type": "string", - "name": "name" - } - ] - } - ] - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "array", - "name": "docker_metadata" - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "installation_command", - "isRequired": true - }, - { - "type": "string", - "name": "manifest" - }, - { - "type": "array of objects", - "name": "metadata", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "object or null", - "name": "npm_metadata", - "childParamsGroups": [ - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "version" - }, - { - "type": "string", - "name": "npm_user" - }, - { - "type": "object or null", - "name": "author" - }, - { - "type": "object or null", - "name": "bugs" - }, - { - "type": "object", - "name": "dependencies" - }, - { - "type": "object", - "name": "dev_dependencies" - }, - { - "type": "object", - "name": "peer_dependencies" - }, - { - "type": "object", - "name": "optional_dependencies" - }, - { - "type": "string", - "name": "description" - }, - { - "type": "object or null", - "name": "dist" - }, - { - "type": "string", - "name": "git_head" - }, - { - "type": "string", - "name": "homepage" - }, - { - "type": "string", - "name": "license" - }, - { - "type": "string", - "name": "main" - }, - { - "type": "object or null", - "name": "repository" - }, - { - "type": "object", - "name": "scripts" - }, - { - "type": "string", - "name": "id" - }, - { - "type": "string", - "name": "node_version" - }, - { - "type": "string", - "name": "npm_version" - }, - { - "type": "boolean", - "name": "has_shrinkwrap" - }, - { - "type": "array of objects", - "name": "maintainers" - }, - { - "type": "array of objects", - "name": "contributors" - }, - { - "type": "object", - "name": "engines" - }, - { - "type": "array of strings", - "name": "keywords" - }, - { - "type": "array of strings", - "name": "files" - }, - { - "type": "object", - "name": "bin" - }, - { - "type": "object", - "name": "man" - }, - { - "type": "object or null", - "name": "directories" - }, - { - "type": "array of strings", - "name": "os" - }, - { - "type": "array of strings", - "name": "cpu" - }, - { - "type": "string", - "name": "readme" - }, - { - "type": "string", - "name": "installation_command" - }, - { - "type": "integer", - "name": "release_id" - }, - { - "type": "string", - "name": "commit_oid" - }, - { - "type": "boolean", - "name": "published_via_actions" - }, - { - "type": "integer", - "name": "deleted_by_id" - } - ] - }, - { - "type": "array of objects or null", - "name": "nuget_metadata", - "childParamsGroups": [ - { - "type": "integer or string", - "name": "id", - "description": "" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "boolean or string or integer or object", - "name": "value", - "description": "" - } - ] - }, - { - "type": "array of objects", - "name": "package_files", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "content_type", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "download_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string or null", - "name": "md5", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string or null", - "name": "sha1", - "isRequired": true - }, - { - "type": "string or null", - "name": "sha256", - "isRequired": true - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string or null", - "name": "state", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "package_url" - }, - { - "type": "boolean", - "name": "prerelease" - }, - { - "type": "object", - "name": "release", - "childParamsGroups": [ - { - "type": "object or null", - "name": "author", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string or null", - "name": "name", - "isRequired": true - }, - { - "type": "boolean", - "name": "prerelease", - "isRequired": true - }, - { - "type": "string", - "name": "published_at", - "isRequired": true - }, - { - "type": "string", - "name": "tag_name", - "isRequired": true - }, - { - "type": "string", - "name": "target_commitish", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "array", - "name": "rubygems_metadata" - }, - { - "type": "string", - "name": "source_url" - }, - { - "type": "string", - "name": "summary", - "isRequired": true - }, - { - "type": "string", - "name": "tag_name" - }, - { - "type": "string", - "name": "target_commitish" - }, - { - "type": "string", - "name": "target_oid" - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "string", - "name": "version", - "isRequired": true - } - ] - }, - { - "type": "object or null", - "name": "registry", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "about_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "vendor", - "isRequired": true - } - ] - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - } - ] - }, - 36, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "published", - "category": "package" - }, - "updated": { - "description": "A previously published package was updated.", - "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.", - "bodyParameters": [ - 73, - 1, - 2, - 3, - { - "type": "object", - "name": "package", - "in": "body", - "description": "Information about the package.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "ecosystem", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "namespace", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "package_type", - "isRequired": true - }, - { - "type": "object", - "name": "package_version", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object or null", - "name": "author", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "body", - "isRequired": true - }, - { - "type": "string", - "name": "body_html", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "array", - "name": "docker_metadata" - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "installation_command", - "isRequired": true - }, - { - "type": "string", - "name": "manifest" - }, - { - "type": "array", - "name": "metadata", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "array of objects", - "name": "package_files", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "content_type", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "download_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string or null", - "name": "md5", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string or null", - "name": "sha1", - "isRequired": true - }, - { - "type": "string", - "name": "sha256", - "isRequired": true - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "package_url" - }, - { - "type": "boolean", - "name": "prerelease" - }, - { - "type": "object", - "name": "release", - "childParamsGroups": [ - { - "type": "object or null", - "name": "author", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "boolean", - "name": "prerelease", - "isRequired": true - }, - { - "type": "string", - "name": "published_at", - "isRequired": true - }, - { - "type": "string", - "name": "tag_name", - "isRequired": true - }, - { - "type": "string", - "name": "target_commitish", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "array", - "name": "rubygems_metadata" - }, - { - "type": "string", - "name": "source_url" - }, - { - "type": "string", - "name": "summary", - "isRequired": true - }, - { - "type": "string", - "name": "tag_name" - }, - { - "type": "string", - "name": "target_commitish", - "isRequired": true - }, - { - "type": "string", - "name": "target_oid", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "version", - "isRequired": true - } - ] - }, - { - "type": "object or null", - "name": "registry", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "about_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "vendor", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - } - ] - }, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "updated", - "category": "package" + "action": "opened" } }, "page_build": { "default": { - "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.", "bodyParameters": [ { - "type": "object", "name": "build", - "in": "body", "description": "The [List GitHub Pages builds](https://docs.github.com/rest/reference/repos#list-github-pages-builds) itself.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "commit", - "isRequired": true + "name": "commit" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "integer", - "name": "duration", - "isRequired": true + "name": "duration" }, { - "type": "object", "name": "error", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "message", - "isRequired": true + "name": "message" } ] }, { - "type": "object or null", "name": "pusher", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", - "name": "status", - "isRequired": true + "name": "status" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, 1, { - "type": "integer", - "name": "id", - "in": "body", - "isRequired": true + "name": "id" }, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "default", - "category": "page_build" - } - }, - "ping": { - "default": { - "summary": "This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly.", - "bodyParameters": [ - { - "type": "object", - "name": "hook", - "in": "body", - "description": "The webhook that is being pinged", - "childParamsGroups": [ - { - "type": "boolean", - "name": "active", - "description": "Determines whether the hook is actually triggered for the events it subscribes to.", - "isRequired": true - }, - { - "type": "integer", - "name": "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": "object", - "name": "config", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "content_type", - "description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`." - }, - { - "type": "string or number", - "name": "insecure_ssl", - "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.**" - }, - { - "type": "string", - "name": "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)." - }, - { - "type": "string", - "name": "url", - "description": "The URL to which the payloads will be delivered." - } - ] - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "deliveries_url" - }, - { - "type": "array of strings", - "name": "events", - "description": "Determines what events the hook is triggered for. Default: ['push'].", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the webhook.", - "isRequired": true - }, - { - "type": "object", - "name": "last_response", - "childParamsGroups": [ - { - "type": "integer or null", - "name": "code", - "isRequired": true - }, - { - "type": "string or null", - "name": "status", - "isRequired": true - }, - { - "type": "string or null", - "name": "message", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "name", - "description": "The type of webhook. The only valid value is 'web'.", - "isRequired": true, - "enum": [ - "web" - ] - }, - { - "type": "string", - "name": "ping_url" - }, - { - "type": "string", - "name": "test_url" - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "integer", - "name": "hook_id", - "in": "body", - "description": "The ID of the webhook that triggered the ping." - }, - 3, - 36, - 30, - { - "type": "string", - "name": "zen", - "in": "body", - "description": "Random string of GitHub zen." - } - ], - "availability": [ - "repository", - "organization", - "app", - "business", - "marketplace" - ], - "action": "default", - "category": "ping" + "action": "default" } }, "project_card": { "converted": { - "description": "A note in a classic project was converted to an issue.", - "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.", "bodyParameters": [ - 74, - { - "type": "object", - "name": "changes", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "note", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "from", - "isRequired": true - } - ] - } - ] - }, + 0, + 27, 1, 2, 3, - 75, - 36, + 28, + 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "converted", - "category": "project_card" + "action": "converted" }, "created": { - "description": "A card was added to a classic project.", - "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.", "bodyParameters": [ 0, 1, 2, 3, - 75, - 36, + 28, + 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "project_card" + "action": "created" }, "deleted": { - "description": "A card on a classic project was deleted.", - "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.", "bodyParameters": [ - 7, + 0, 1, 2, 3, - { - "type": "object", - "name": "project_card", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer or null", - "name": "after_id" - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether or not the card is archived", - "isRequired": true - }, - { - "type": "integer or null", - "name": "column_id", - "isRequired": true - }, - { - "type": "string", - "name": "column_url", - "isRequired": true - }, - { - "type": "string", - "name": "content_url" - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "integer", - "name": "id", - "description": "The project card's ID", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "note", - "isRequired": true - }, - { - "type": "string", - "name": "project_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - 65, + 28, + 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "deleted", - "category": "project_card" + "action": "deleted" }, "edited": { - "description": "A note on a classic project was edited.", - "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.", "bodyParameters": [ - 8, - { - "type": "object", - "name": "changes", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "note", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "from", - "isRequired": true - } - ] - } - ] - }, + 0, + 27, 1, 2, 3, - 75, - 36, + 28, + 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "project_card" + "action": "edited" }, "moved": { - "description": "A card on a classic project was moved to another column or to another position in its column.", - "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.", "bodyParameters": [ - 76, + 0, { - "type": "object", "name": "changes", - "in": "body", "childParamsGroups": [ { - "type": "object", "name": "column_id", - "isRequired": true, "childParamsGroups": [ { - "type": "integer", - "name": "from", - "isRequired": true + "name": "from" } ] } @@ -36908,400 +6563,273 @@ 2, 3, { - "type": "object", "name": "project_card", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "integer or null", "name": "after_id" }, { - "type": "boolean", "name": "archived", - "description": "Whether or not the card is archived", - "isRequired": true + "description": "Whether or not the card is archived" }, { - "type": "integer", - "name": "column_id", - "isRequired": true - }, - { - "type": "string", - "name": "column_url", - "isRequired": true - }, - { - "type": "string", - "name": "content_url" - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "integer", - "name": "id", - "description": "The project card's ID", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "note", - "isRequired": true - }, - { - "type": "string", - "name": "project_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "number or null", - "name": "after_id", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived" - }, - { - "type": "integer", "name": "column_id" }, { - "type": "string", "name": "column_url" }, { - "type": "string", + "name": "content_url" + }, + { "name": "created_at" }, { - "type": "object or null", "name": "creator", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", + "name": "deleted" + }, + { + "name": "email" + }, + { "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", + "name": "name" + }, + { "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "integer", + "name": "id", + "description": "The project card's ID" + }, + { + "name": "node_id" + }, + { + "name": "note" + }, + { + "name": "project_url" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "after_id" + }, + { + "name": "archived" + }, + { + "name": "column_id" + }, + { + "name": "column_url" + }, + { + "name": "created_at" + }, + { + "name": "creator", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { "name": "id" }, { - "type": "string", "name": "node_id" }, { - "type": "string or null", "name": "note" }, { - "type": "string", "name": "project_url" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" } ] }, - 36, + 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "moved", - "category": "project_card" + "action": "moved" } }, "project": { "closed": { - "description": "A classic project was closed.", - "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.", - "bodyParameters": [ - 66, - 1, - 2, - 3, - 77, - 36, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "closed", - "category": "project" - }, - "created": { - "description": "A classic project was created.", - "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.", "bodyParameters": [ 0, 1, 2, 3, - 77, - 36, + 29, + 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "project" + "action": "closed" }, - "deleted": { - "description": "A classic project was deleted.", - "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.", + "created": { "bodyParameters": [ - 7, + 0, 1, 2, 3, - 77, - 65, - 30 + 29, + 4, + 6 ], - "availability": [ - "repository", - "organization", - "app" + "action": "created" + }, + "deleted": { + "bodyParameters": [ + 0, + 1, + 2, + 3, + 29, + 4, + 6 ], - "action": "deleted", - "category": "project" + "action": "deleted" }, "edited": { - "description": "The name or description of a classic project was changed.", - "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.", "bodyParameters": [ - 8, + 0, { - "type": "object", "name": "changes", - "in": "body", "description": "The changes to the project if the action was `edited`.", "childParamsGroups": [ { - "type": "object", "name": "body", "childParamsGroups": [ { - "type": "string", "name": "from", - "description": "The previous version of the body if the action was `edited`.", - "isRequired": true + "description": "The previous version of the body if the action was `edited`." } ] }, { - "type": "object", "name": "name", "childParamsGroups": [ { - "type": "string", "name": "from", - "description": "The changes to the project if the action was `edited`.", - "isRequired": true + "description": "The changes to the project if the action was `edited`." } ] } @@ -37310,99 +6838,61 @@ 1, 2, 3, - 77, - 36, - 30 + 29, + 4, + 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "project" + "action": "edited" }, "reopened": { - "description": "A classic project was closed.", - "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.", "bodyParameters": [ - 17, + 0, 1, 2, 3, - 77, - 36, + 29, + 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "reopened", - "category": "project" + "action": "reopened" } }, "project_column": { "created": { - "description": "A column was added to a classic project.", - "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.", "bodyParameters": [ 0, 1, 2, 3, - 78, - 36, - 30 + 30, + 4, + 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "project_column" + "action": "created" }, "deleted": { - "description": "A column was deleted from a classic project.", - "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.", "bodyParameters": [ - 7, + 0, 1, 2, 3, - 78, - 65, - 30 + 30, + 4, + 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "deleted", - "category": "project_column" + "action": "deleted" }, "edited": { - "description": "The name of a column on a classic project was changed.", - "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.", "bodyParameters": [ - 8, + 0, { - "type": "object", "name": "changes", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "name", "childParamsGroups": [ { - "type": "string", - "name": "from", - "isRequired": true + "name": "from" } ] } @@ -37411,204 +6901,137 @@ 1, 2, 3, - 78, - 36, - 30 + 30, + 4, + 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "project_column" + "action": "edited" }, "moved": { - "description": "A column was moved to a new position on a classic project.", - "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.", "bodyParameters": [ - 76, + 0, 1, 2, 3, - 78, - 36, + 30, + 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "moved", - "category": "project_column" + "action": "moved" } }, "projects_v2": { "closed": { - "description": "A project in the organization was closed.", - "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).", - "bodyParameters": [ - 66, - 62, - 79, - 6 - ], - "availability": [ - "organization" - ], - "action": "closed", - "category": "projects_v2" - }, - "created": { - "description": "A project in the organization was created.", - "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).", "bodyParameters": [ 0, - 62, - 79, + 3, + 31, 6 ], - "availability": [ - "organization" + "action": "closed" + }, + "created": { + "bodyParameters": [ + 0, + 3, + 31, + 6 ], - "action": "created", - "category": "projects_v2" + "action": "created" }, "edited": { - "description": "The title, description, or README of a project in the organization was changed.", - "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).", "bodyParameters": [ - 8, + 0, { - "type": "object", "name": "changes", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "description", "childParamsGroups": [ { - "type": "string or null", "name": "from" }, { - "type": "string or null", "name": "to" } ] }, { - "type": "object", "name": "public", "childParamsGroups": [ { - "type": "boolean", "name": "from" }, { - "type": "boolean", "name": "to" } ] }, { - "type": "object", "name": "short_description", "childParamsGroups": [ { - "type": "string or null", "name": "from" }, { - "type": "string or null", "name": "to" } ] }, { - "type": "object", "name": "title", "childParamsGroups": [ { - "type": "string", "name": "from" }, { - "type": "string", "name": "to" } ] } ] }, - 62, - 79, + 3, + 31, 6 ], - "availability": [ - "organization" - ], - "action": "edited", - "category": "projects_v2" + "action": "edited" }, "reopened": { - "description": "A project in the organization was reopened.", - "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).", "bodyParameters": [ - 17, - 62, - 79, + 0, + 3, + 31, 6 ], - "availability": [ - "organization" - ], - "action": "reopened", - "category": "projects_v2" + "action": "reopened" } }, "projects_v2_item": { "archived": { - "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).\"", - "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).", "bodyParameters": [ - 80, - 81, + 0, + 32, 2, - 62, - 82, + 3, + 33, 6 ], - "availability": [ - "organization" - ], - "action": "archived", - "category": "projects_v2_item" + "action": "archived" }, "converted": { - "description": "A draft issue in an organization project was converted to an issue.", - "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).", "bodyParameters": [ - 74, + 0, { - "type": "object", "name": "changes", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "content_type", "childParamsGroups": [ { - "type": "string or null", "name": "from" }, { - "type": "string", "name": "to" } ] @@ -37616,99 +7039,59 @@ ] }, 2, - 62, - 82, + 3, + 33, 6 ], - "availability": [ - "organization" - ], - "action": "converted", - "category": "projects_v2_item" + "action": "converted" }, "created": { - "description": "An item was added to a project in the organization.", - "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).", "bodyParameters": [ 0, 2, - 62, - 82, + 3, + 33, 6 ], - "availability": [ - "organization" - ], - "action": "created", - "category": "projects_v2_item" + "action": "created" }, "deleted": { - "description": "An item was deleted from a project in the organization.", - "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).", "bodyParameters": [ - 7, + 0, 2, - 62, - 82, + 3, + 33, 6 ], - "availability": [ - "organization" - ], - "action": "deleted", - "category": "projects_v2_item" + "action": "deleted" }, "edited": { - "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.", - "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).", "bodyParameters": [ - 8, + 0, { - "type": "object or object", "name": "changes", - "in": "body", "description": "" }, 2, - 62, - 82, + 3, + 33, 6 ], - "availability": [ - "organization" - ], - "action": "edited", - "category": "projects_v2_item" + "action": "edited" }, "reordered": { - "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.", - "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).", "bodyParameters": [ + 0, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "reordered" - ] - }, - { - "type": "object", "name": "changes", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "previous_projects_v2_item_node_id", "childParamsGroups": [ { - "type": "string or null", "name": "from" }, { - "type": "string or null", "name": "to" } ] @@ -37716,45 +7099,26 @@ ] }, 2, - 62, - 82, + 3, + 33, 6 ], - "availability": [ - "organization" - ], - "action": "reordered", - "category": "projects_v2_item" + "action": "reordered" }, "restored": { - "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).\"", - "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).", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "restored" - ] - }, - 81, + 0, + 32, 2, - 62, - 82, + 3, + 33, 6 ], - "availability": [ - "organization" - ], - "action": "restored", - "category": "projects_v2_item" + "action": "restored" } }, "public": { "default": { - "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.", "bodyParameters": [ 1, 2, @@ -37762,8649 +7126,97 @@ 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "default", - "category": "public" + "action": "default" } }, "pull_request": { "assigned": { - "description": "A pull request was assigned to a user.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "assigned" - ] - }, - { - "type": "object or null", - "name": "assignee", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, + 0, + 22, 1, 2, - 83, + 34, 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "integer", - "name": "additions" - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "integer", - "name": "changed_files" - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "integer", - "name": "commits" - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "integer", - "name": "deletions" - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request." - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable" - }, - { - "type": "string", - "name": "mergeable_state" - }, - { - "type": "boolean or null", - "name": "merged" - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable" - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "integer", - "name": "review_comments" - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "description": "The title of the pull request.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 35, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "assigned", - "category": "pull_request" + "action": "assigned" }, "auto_merge_disabled": { - "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).\"", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "auto_merge_disabled" - ] - }, + 0, 1, 2, - 84, + 36, 3, { - "type": "object", "name": "pull_request", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "integer", - "name": "additions" - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "integer", - "name": "changed_files" - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "integer", - "name": "commits" - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "integer", - "name": "deletions" - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request." - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable" - }, - { - "type": "string", - "name": "mergeable_state" - }, - { - "type": "boolean or null", - "name": "merged" - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable" - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "integer", - "name": "review_comments" - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "description": "The title of the pull request.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - 85, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "auto_merge_disabled", - "category": "pull_request" - }, - "auto_merge_enabled": { - "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).\"", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "auto_merge_enabled" - ] - }, - 1, - 2, - 84, - 3, - 86, - { - "type": "string", - "name": "reason", - "in": "body" - }, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "auto_merge_enabled", - "category": "pull_request" - }, - "closed": { - "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.", - "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.", - "bodyParameters": [ - 66, - 1, - 2, - 83, - 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "integer", - "name": "additions" - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "integer", - "name": "changed_files" - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "integer", - "name": "commits" - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "integer", - "name": "deletions" - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merge_commit_message", - "description": "The default value for a merge commit message.", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ] - }, - { - "type": "string", - "name": "merge_commit_title", - "description": "The default value for a merge commit message title.", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ] - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "squash_merge_commit_message", - "description": "The default value for a squash merge commit message.", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ] - }, - { - "type": "string", - "name": "squash_merge_commit_title", - "description": "The default value for a squash merge commit title.", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_TITLE" - ] - }, - { - "type": "string", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request." - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable" - }, - { - "type": "string", - "name": "mergeable_state" - }, - { - "type": "boolean or null", - "name": "merged" - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable" - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "integer", - "name": "review_comments" - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "description": "The title of the pull request.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", "name": "_links", "childParamsGroups": [ { - "type": "object", "name": "comments", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "commits", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "html", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "issue", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "review_comment", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "review_comments", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "self", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "statuses", "childParamsGroups": [ { - "type": "string", "name": "href" } ] @@ -46412,573 +7224,731 @@ ] }, { - "type": "string or null", "name": "active_lock_reason" }, { - "type": "integer", "name": "additions" }, { - "type": "object or null", - "name": "assignee" + "name": "assignee", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] }, { - "type": "array of objects", - "name": "assignees" + "name": "assignees", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] }, { - "type": "string", - "name": "author_association" + "name": "author_association", + "description": "How the author is associated with the repository." }, { - "type": "object or null", - "name": "auto_merge" + "name": "auto_merge", + "description": "The status of auto merging a pull request.", + "childParamsGroups": [ + { + "name": "commit_message", + "description": "Commit message for the merge commit." + }, + { + "name": "commit_title", + "description": "Title for the merge commit message." + }, + { + "name": "enabled_by", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "merge_method", + "description": "The merge method to use." + } + ] }, { - "type": "object", "name": "base", "childParamsGroups": [ { - "type": "string", "name": "label" }, { - "type": "string", "name": "ref" }, { - "type": "object", "name": "repo", + "description": "A git repository", "childParamsGroups": [ { - "type": "boolean", - "name": "allow_auto_merge" + "name": "allow_auto_merge", + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", - "name": "allow_forking" + "name": "allow_forking", + "description": "Whether to allow private forks" }, { - "type": "boolean", - "name": "allow_merge_commit" + "name": "allow_merge_commit", + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", - "name": "allow_rebase_merge" + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", - "name": "allow_squash_merge" + "name": "allow_squash_merge", + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", "name": "archive_url" }, { - "type": "boolean", - "name": "archived" + "name": "archived", + "description": "Whether the repository is archived." }, { - "type": "string", "name": "assignees_url" }, { - "type": "string", "name": "blobs_url" }, { - "type": "string", "name": "branches_url" }, { - "type": "string", "name": "clone_url" }, { - "type": "string", "name": "collaborators_url" }, { - "type": "string", "name": "comments_url" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "compare_url" }, { - "type": "string", "name": "contents_url" }, { - "type": "string", "name": "contributors_url" }, { - "type": "string", - "name": "created_at" + "name": "created_at", + "description": "" }, { - "type": "string", - "name": "default_branch" + "name": "default_branch", + "description": "The default branch of the repository." }, { - "type": "boolean", - "name": "delete_branch_on_merge" + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", "name": "deployments_url" }, { - "type": "string or null", "name": "description" }, { - "type": "boolean", - "name": "disabled" + "name": "disabled", + "description": "Returns whether or not this repository is disabled." }, { - "type": "string", "name": "downloads_url" }, { - "type": "string", "name": "events_url" }, { - "type": "boolean", "name": "fork" }, { - "type": "integer", "name": "forks" }, { - "type": "integer", "name": "forks_count" }, { - "type": "string", "name": "forks_url" }, { - "type": "string", "name": "full_name" }, { - "type": "string", "name": "git_commits_url" }, { - "type": "string", "name": "git_refs_url" }, { - "type": "string", "name": "git_tags_url" }, { - "type": "string", "name": "git_url" }, { - "type": "boolean", - "name": "has_downloads" + "name": "has_downloads", + "description": "Whether downloads are enabled." }, { - "type": "boolean", - "name": "has_issues" + "name": "has_issues", + "description": "Whether issues are enabled." + }, + { + "name": "has_discussions", + "description": "Whether discussions are enabled." }, { - "type": "boolean", "name": "has_pages" }, { - "type": "boolean", - "name": "has_projects" + "name": "has_projects", + "description": "Whether projects are enabled." }, { - "type": "boolean", - "name": "has_wiki" + "name": "has_wiki", + "description": "Whether the wiki is enabled." }, { - "type": "string or null", "name": "homepage" }, { - "type": "string", "name": "hooks_url" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id" + "name": "id", + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", "name": "issue_comment_url" }, { - "type": "string", "name": "issue_events_url" }, { - "type": "string", "name": "issues_url" }, { - "type": "string", "name": "keys_url" }, { - "type": "string", "name": "labels_url" }, { - "type": "string or null", "name": "language" }, { - "type": "string", "name": "languages_url" }, { - "type": "object or null", - "name": "license" - }, - { - "type": "string", - "name": "merge_commit_message", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ] - }, - { - "type": "string", - "name": "merge_commit_title", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ] - }, - { - "type": "string", - "name": "merges_url" - }, - { - "type": "string", - "name": "milestones_url" - }, - { - "type": "string or null", - "name": "mirror_url" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "notifications_url" - }, - { - "type": "integer", - "name": "open_issues" - }, - { - "type": "integer", - "name": "open_issues_count" - }, - { - "type": "object", - "name": "owner", + "name": "license", "childParamsGroups": [ { - "type": "string", - "name": "avatar_url" + "name": "key" }, { - "type": "string", - "name": "events_url" + "name": "name" }, { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", "name": "node_id" }, { - "type": "string", - "name": "organizations_url" + "name": "spdx_id" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", "name": "url" } ] }, { - "type": "boolean", - "name": "private" + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "childParamsGroups": [ + { + "name": "admin" + }, + { + "name": "maintain" + }, + { + "name": "pull" + }, + { + "name": "push" + }, + { + "name": "triage" + } + ] + }, + { + "name": "private", + "description": "Whether the repository is private or public." + }, + { + "name": "public" }, { - "type": "string", "name": "pulls_url" }, { - "type": "string", - "name": "pushed_at" + "name": "pushed_at", + "description": "" }, { - "type": "string", "name": "releases_url" }, { - "type": "integer", + "name": "role_name" + }, + { "name": "size" }, { - "type": "string", "name": "squash_merge_commit_message", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ] + "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." }, { - "type": "string", "name": "squash_merge_commit_title", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_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)." }, { - "type": "string", "name": "ssh_url" }, { - "type": "integer", + "name": "stargazers" + }, + { "name": "stargazers_count" }, { - "type": "string", "name": "stargazers_url" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "subscribers_url" }, { - "type": "string", "name": "subscription_url" }, { - "type": "string", "name": "svn_url" }, { - "type": "string", "name": "tags_url" }, { - "type": "string", "name": "teams_url" }, { - "type": "array of strings", "name": "topics" }, { - "type": "string", "name": "trees_url" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "boolean", - "name": "use_squash_pr_title_as_default" + "name": "use_squash_pr_title_as_default", + "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead." }, { - "type": "string", "name": "visibility" }, { - "type": "integer", "name": "watchers" }, { - "type": "integer", "name": "watchers_count" }, { - "type": "boolean", - "name": "web_commit_signoff_required" + "name": "web_commit_signoff_required", + "description": "Whether to require contributors to sign off on web-based commits" } ] }, { - "type": "string", "name": "sha" }, { - "type": "object", "name": "user", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", + "name": "deleted" + }, + { + "name": "email" + }, + { "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", + "name": "name" + }, + { "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] @@ -46986,594 +7956,533 @@ ] }, { - "type": "string or null", "name": "body" }, { - "type": "integer", "name": "changed_files" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", "name": "comments" }, { - "type": "string", "name": "comments_url" }, { - "type": "integer", "name": "commits" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "created_at" }, { - "type": "integer", "name": "deletions" }, { - "type": "string", "name": "diff_url" }, { - "type": "boolean", - "name": "draft" + "name": "draft", + "description": "Indicates whether or not the pull request is a draft." }, { - "type": "object", "name": "head", "childParamsGroups": [ { - "type": "string or null", "name": "label" }, { - "type": "string", "name": "ref" }, { - "type": "object or null", "name": "repo", + "description": "A git repository", "childParamsGroups": [ { - "type": "boolean", - "name": "allow_auto_merge" + "name": "allow_auto_merge", + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", - "name": "allow_forking" + "name": "allow_forking", + "description": "Whether to allow private forks" }, { - "type": "boolean", - "name": "allow_merge_commit" + "name": "allow_merge_commit", + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", - "name": "allow_rebase_merge" + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", - "name": "allow_squash_merge" + "name": "allow_squash_merge", + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", "name": "archive_url" }, { - "type": "boolean", - "name": "archived" + "name": "archived", + "description": "Whether the repository is archived." }, { - "type": "string", "name": "assignees_url" }, { - "type": "string", "name": "blobs_url" }, { - "type": "string", "name": "branches_url" }, { - "type": "string", "name": "clone_url" }, { - "type": "string", "name": "collaborators_url" }, { - "type": "string", "name": "comments_url" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "compare_url" }, { - "type": "string", "name": "contents_url" }, { - "type": "string", "name": "contributors_url" }, { - "type": "string", - "name": "created_at" + "name": "created_at", + "description": "" }, { - "type": "string", - "name": "default_branch" + "name": "default_branch", + "description": "The default branch of the repository." }, { - "type": "boolean", - "name": "delete_branch_on_merge" + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", "name": "deployments_url" }, { - "type": "string or null", "name": "description" }, { - "type": "boolean", - "name": "disabled" + "name": "disabled", + "description": "Returns whether or not this repository is disabled." }, { - "type": "string", "name": "downloads_url" }, { - "type": "string", "name": "events_url" }, { - "type": "boolean", "name": "fork" }, { - "type": "integer", "name": "forks" }, { - "type": "integer", "name": "forks_count" }, { - "type": "string", "name": "forks_url" }, { - "type": "string", "name": "full_name" }, { - "type": "string", "name": "git_commits_url" }, { - "type": "string", "name": "git_refs_url" }, { - "type": "string", "name": "git_tags_url" }, { - "type": "string", "name": "git_url" }, { - "type": "boolean", - "name": "has_downloads" + "name": "has_downloads", + "description": "Whether downloads are enabled." }, { - "type": "boolean", - "name": "has_issues" + "name": "has_issues", + "description": "Whether issues are enabled." }, { - "type": "boolean", "name": "has_pages" }, { - "type": "boolean", - "name": "has_projects" + "name": "has_projects", + "description": "Whether projects are enabled." }, { - "type": "boolean", - "name": "has_wiki" + "name": "has_wiki", + "description": "Whether the wiki is enabled." + }, + { + "name": "has_discussions", + "description": "Whether discussions are enabled." }, { - "type": "string or null", "name": "homepage" }, { - "type": "string", "name": "hooks_url" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id" + "name": "id", + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", "name": "issue_comment_url" }, { - "type": "string", "name": "issue_events_url" }, { - "type": "string", "name": "issues_url" }, { - "type": "string", "name": "keys_url" }, { - "type": "string", "name": "labels_url" }, { - "type": "string or null", "name": "language" }, { - "type": "string", "name": "languages_url" }, { - "type": "object or null", - "name": "license" - }, - { - "type": "string", - "name": "merge_commit_message", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ] - }, - { - "type": "string", - "name": "merge_commit_title", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ] - }, - { - "type": "string", - "name": "merges_url" - }, - { - "type": "string", - "name": "milestones_url" - }, - { - "type": "string or null", - "name": "mirror_url" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "notifications_url" - }, - { - "type": "integer", - "name": "open_issues" - }, - { - "type": "integer", - "name": "open_issues_count" - }, - { - "type": "object or null", - "name": "owner", + "name": "license", "childParamsGroups": [ { - "type": "string", - "name": "avatar_url" + "name": "key" }, { - "type": "string", - "name": "events_url" + "name": "name" }, { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", "name": "node_id" }, { - "type": "string", - "name": "organizations_url" + "name": "spdx_id" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", "name": "url" } ] }, { - "type": "boolean", - "name": "private" + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "childParamsGroups": [ + { + "name": "admin" + }, + { + "name": "maintain" + }, + { + "name": "pull" + }, + { + "name": "push" + }, + { + "name": "triage" + } + ] + }, + { + "name": "private", + "description": "Whether the repository is private or public." + }, + { + "name": "public" }, { - "type": "string", "name": "pulls_url" }, { - "type": "string", - "name": "pushed_at" + "name": "pushed_at", + "description": "" }, { - "type": "string", "name": "releases_url" }, { - "type": "integer", + "name": "role_name" + }, + { "name": "size" }, { - "type": "string", "name": "squash_merge_commit_message", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ] + "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." }, { - "type": "string", "name": "squash_merge_commit_title", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_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)." }, { - "type": "string", "name": "ssh_url" }, { - "type": "integer", + "name": "stargazers" + }, + { "name": "stargazers_count" }, { - "type": "string", "name": "stargazers_url" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "subscribers_url" }, { - "type": "string", "name": "subscription_url" }, { - "type": "string", "name": "svn_url" }, { - "type": "string", "name": "tags_url" }, { - "type": "string", "name": "teams_url" }, { - "type": "array of strings", "name": "topics" }, { - "type": "string", "name": "trees_url" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "boolean", - "name": "use_squash_pr_title_as_default" + "name": "use_squash_pr_title_as_default", + "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead." }, { - "type": "string", "name": "visibility" }, { - "type": "integer", "name": "watchers" }, { - "type": "integer", "name": "watchers_count" }, { - "type": "boolean", - "name": "web_commit_signoff_required" + "name": "web_commit_signoff_required", + "description": "Whether to require contributors to sign off on web-based commits" } ] }, { - "type": "string", "name": "sha" }, { - "type": "object or null", "name": "user", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", + "name": "deleted" + }, + { + "name": "email" + }, + { "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", + "name": "name" + }, + { "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] @@ -47581,194 +8490,3321 @@ ] }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "issue_url" }, { - "type": "array of objects", - "name": "labels" + "name": "labels", + "childParamsGroups": [ + { + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color" + }, + { + "name": "default" + }, + { + "name": "description" + }, + { + "name": "id" + }, + { + "name": "name", + "description": "The name of the label." + }, + { + "name": "node_id" + }, + { + "name": "url", + "description": "URL for the label" + } + ] }, { - "type": "boolean", "name": "locked" }, { - "type": "boolean", - "name": "maintainer_can_modify" + "name": "maintainer_can_modify", + "description": "Indicates whether maintainers can modify the pull request." }, { - "type": "string or null", "name": "merge_commit_sha" }, { - "type": "boolean or null", "name": "mergeable" }, { - "type": "string", "name": "mergeable_state" }, { - "type": "boolean", - "name": "merged", - "isRequired": true + "name": "merged" + }, + { + "name": "merged_at" + }, + { + "name": "merged_by", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "milestone", + "description": "A collection of related issues and pull requests.", + "childParamsGroups": [ + { + "name": "closed_at" + }, + { + "name": "closed_issues" + }, + { + "name": "created_at" + }, + { + "name": "creator", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "description" + }, + { + "name": "due_on" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels_url" + }, + { + "name": "node_id" + }, + { + "name": "number", + "description": "The number of the milestone." + }, + { + "name": "open_issues" + }, + { + "name": "state", + "description": "The state of the milestone." + }, + { + "name": "title", + "description": "The title of the milestone." + }, + { + "name": "updated_at" + }, + { + "name": "url" + } + ] + }, + { + "name": "node_id" + }, + { + "name": "number", + "description": "Number uniquely identifying the pull request within its repository." + }, + { + "name": "patch_url" + }, + { + "name": "rebaseable" + }, + { + "name": "requested_reviewers" + }, + { + "name": "requested_teams", + "childParamsGroups": [ + { + "name": "deleted" + }, + { + "name": "description", + "description": "Description of the team" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the team" + }, + { + "name": "members_url" + }, + { + "name": "name", + "description": "Name of the team" + }, + { + "name": "node_id" + }, + { + "name": "parent", + "childParamsGroups": [ + { + "name": "description", + "description": "Description of the team" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the team" + }, + { + "name": "members_url" + }, + { + "name": "name", + "description": "Name of the team" + }, + { + "name": "node_id" + }, + { + "name": "permission", + "description": "Permission that the team will have for its repositories" + }, + { + "name": "privacy" + }, + { + "name": "repositories_url" + }, + { + "name": "slug" + }, + { + "name": "url", + "description": "URL for the team" + } + ] + }, + { + "name": "permission", + "description": "Permission that the team will have for its repositories" + }, + { + "name": "privacy" + }, + { + "name": "repositories_url" + }, + { + "name": "slug" + }, + { + "name": "url", + "description": "URL for the team" + } + ] + }, + { + "name": "review_comment_url" + }, + { + "name": "review_comments" + }, + { + "name": "review_comments_url" + }, + { + "name": "state", + "description": "State of this Pull Request. Either `open` or `closed`." + }, + { + "name": "statuses_url" + }, + { + "name": "title", + "description": "The title of the pull request." + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + 37, + 4, + 6 + ], + "action": "auto_merge_disabled" + }, + "auto_merge_enabled": { + "bodyParameters": [ + 0, + 1, + 2, + 36, + 3, + 35, + 37, + 4, + 6 + ], + "action": "auto_merge_enabled" + }, + "closed": { + "bodyParameters": [ + 0, + 1, + 2, + 34, + 3, + { + "name": "pull_request", + "childParamsGroups": [ + { + "name": "_links", + "childParamsGroups": [ + { + "name": "comments", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "commits", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "html", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "issue", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "review_comment", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "review_comments", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "self", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "statuses", + "childParamsGroups": [ + { + "name": "href" + } + ] + } + ] + }, + { + "name": "active_lock_reason" + }, + { + "name": "additions" + }, + { + "name": "assignee", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "assignees", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "author_association", + "description": "How the author is associated with the repository." + }, + { + "name": "auto_merge", + "description": "The status of auto merging a pull request.", + "childParamsGroups": [ + { + "name": "commit_message", + "description": "Commit message for the merge commit." + }, + { + "name": "commit_title", + "description": "Title for the merge commit message." + }, + { + "name": "enabled_by", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "merge_method", + "description": "The merge method to use." + } + ] + }, + { + "name": "base", + "childParamsGroups": [ + { + "name": "label" + }, + { + "name": "ref" + }, + { + "name": "repo", + "description": "A git repository", + "childParamsGroups": [ + { + "name": "allow_auto_merge", + "description": "Whether to allow auto-merge for pull requests." + }, + { + "name": "allow_forking", + "description": "Whether to allow private forks" + }, + { + "name": "allow_merge_commit", + "description": "Whether to allow merge commits for pull requests." + }, + { + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests." + }, + { + "name": "allow_squash_merge", + "description": "Whether to allow squash merges for pull requests." + }, + { + "name": "allow_update_branch" + }, + { + "name": "archive_url" + }, + { + "name": "archived", + "description": "Whether the repository is archived." + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "clone_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "created_at", + "description": "" + }, + { + "name": "default_branch", + "description": "The default branch of the repository." + }, + { + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "disabled", + "description": "Returns whether or not this repository is disabled." + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks" + }, + { + "name": "forks_count" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "git_url" + }, + { + "name": "has_downloads", + "description": "Whether downloads are enabled." + }, + { + "name": "has_issues", + "description": "Whether issues are enabled." + }, + { + "name": "has_pages" + }, + { + "name": "has_projects", + "description": "Whether projects are enabled." + }, + { + "name": "has_wiki", + "description": "Whether the wiki is enabled." + }, + { + "name": "homepage" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the repository" + }, + { + "name": "is_template" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "language" + }, + { + "name": "languages_url" + }, + { + "name": "license", + "childParamsGroups": [ + { + "name": "key" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "childParamsGroups": [ + { + "name": "admin" + }, + { + "name": "maintain" + }, + { + "name": "pull" + }, + { + "name": "push" + }, + { + "name": "triage" + } + ] + }, + { + "name": "private", + "description": "Whether the repository is private or public." + }, + { + "name": "public" + }, + { + "name": "pulls_url" + }, + { + "name": "pushed_at", + "description": "" + }, + { + "name": "releases_url" + }, + { + "name": "role_name" + }, + { + "name": "size" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "ssh_url" + }, + { + "name": "stargazers" + }, + { + "name": "stargazers_count" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "svn_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "topics" + }, + { + "name": "trees_url" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "use_squash_pr_title_as_default", + "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead." + }, + { + "name": "visibility" + }, + { + "name": "watchers" + }, + { + "name": "watchers_count" + }, + { + "name": "web_commit_signoff_required", + "description": "Whether to require contributors to sign off on web-based commits" + } + ] + }, + { + "name": "sha" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "body" + }, + { + "name": "changed_files" + }, + { + "name": "closed_at" + }, + { + "name": "comments" + }, + { + "name": "comments_url" + }, + { + "name": "commits" + }, + { + "name": "commits_url" + }, + { + "name": "created_at" + }, + { + "name": "deletions" + }, + { + "name": "diff_url" + }, + { + "name": "draft", + "description": "Indicates whether or not the pull request is a draft." + }, + { + "name": "head", + "childParamsGroups": [ + { + "name": "label" + }, + { + "name": "ref" + }, + { + "name": "repo", + "description": "A git repository", + "childParamsGroups": [ + { + "name": "allow_auto_merge", + "description": "Whether to allow auto-merge for pull requests." + }, + { + "name": "allow_forking", + "description": "Whether to allow private forks" + }, + { + "name": "allow_merge_commit", + "description": "Whether to allow merge commits for pull requests." + }, + { + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests." + }, + { + "name": "allow_squash_merge", + "description": "Whether to allow squash merges for pull requests." + }, + { + "name": "allow_update_branch" + }, + { + "name": "archive_url" + }, + { + "name": "archived", + "description": "Whether the repository is archived." + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "clone_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "created_at", + "description": "" + }, + { + "name": "default_branch", + "description": "The default branch of the repository." + }, + { + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "disabled", + "description": "Returns whether or not this repository is disabled." + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks" + }, + { + "name": "forks_count" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "git_url" + }, + { + "name": "has_downloads", + "description": "Whether downloads are enabled." + }, + { + "name": "has_issues", + "description": "Whether issues are enabled." + }, + { + "name": "has_pages" + }, + { + "name": "has_projects", + "description": "Whether projects are enabled." + }, + { + "name": "has_wiki", + "description": "Whether the wiki is enabled." + }, + { + "name": "homepage" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the repository" + }, + { + "name": "is_template" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "language" + }, + { + "name": "languages_url" + }, + { + "name": "license", + "childParamsGroups": [ + { + "name": "key" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "merge_commit_message", + "description": "The default value for a merge commit message." + }, + { + "name": "merge_commit_title", + "description": "The default value for a merge commit message title." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "permissions", + "childParamsGroups": [ + { + "name": "admin" + }, + { + "name": "maintain" + }, + { + "name": "pull" + }, + { + "name": "push" + }, + { + "name": "triage" + } + ] + }, + { + "name": "private", + "description": "Whether the repository is private or public." + }, + { + "name": "public" + }, + { + "name": "pulls_url" + }, + { + "name": "pushed_at", + "description": "" + }, + { + "name": "releases_url" + }, + { + "name": "role_name" + }, + { + "name": "size" + }, + { + "name": "squash_merge_commit_message", + "description": "The default value for a squash merge commit message." + }, + { + "name": "squash_merge_commit_title", + "description": "The default value for a squash merge commit title." + }, + { + "name": "ssh_url" + }, + { + "name": "stargazers" + }, + { + "name": "stargazers_count" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "svn_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "topics" + }, + { + "name": "trees_url" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "use_squash_pr_title_as_default", + "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead." + }, + { + "name": "visibility" + }, + { + "name": "watchers" + }, + { + "name": "watchers_count" + }, + { + "name": "web_commit_signoff_required", + "description": "Whether to require contributors to sign off on web-based commits" + } + ] + }, + { + "name": "sha" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "issue_url" + }, + { + "name": "labels", + "childParamsGroups": [ + { + "name": "color", + "description": "6-character hex code, without the leading #, identifying the color" + }, + { + "name": "default" + }, + { + "name": "description" + }, + { + "name": "id" + }, + { + "name": "name", + "description": "The name of the label." + }, + { + "name": "node_id" + }, + { + "name": "url", + "description": "URL for the label" + } + ] + }, + { + "name": "locked" + }, + { + "name": "maintainer_can_modify", + "description": "Indicates whether maintainers can modify the pull request." + }, + { + "name": "merge_commit_sha" + }, + { + "name": "mergeable" + }, + { + "name": "mergeable_state" + }, + { + "name": "merged" + }, + { + "name": "merged_at" + }, + { + "name": "merged_by", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "milestone", + "description": "A collection of related issues and pull requests.", + "childParamsGroups": [ + { + "name": "closed_at" + }, + { + "name": "closed_issues" + }, + { + "name": "created_at" + }, + { + "name": "creator", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "description" + }, + { + "name": "due_on" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels_url" + }, + { + "name": "node_id" + }, + { + "name": "number", + "description": "The number of the milestone." + }, + { + "name": "open_issues" + }, + { + "name": "state", + "description": "The state of the milestone." + }, + { + "name": "title", + "description": "The title of the milestone." + }, + { + "name": "updated_at" + }, + { + "name": "url" + } + ] + }, + { + "name": "node_id" + }, + { + "name": "number", + "description": "Number uniquely identifying the pull request within its repository." + }, + { + "name": "patch_url" + }, + { + "name": "rebaseable" + }, + { + "name": "requested_reviewers" + }, + { + "name": "requested_teams", + "childParamsGroups": [ + { + "name": "deleted" + }, + { + "name": "description", + "description": "Description of the team" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the team" + }, + { + "name": "members_url" + }, + { + "name": "name", + "description": "Name of the team" + }, + { + "name": "node_id" + }, + { + "name": "parent", + "childParamsGroups": [ + { + "name": "description", + "description": "Description of the team" + }, + { + "name": "html_url" + }, + { + "name": "id", + "description": "Unique identifier of the team" + }, + { + "name": "members_url" + }, + { + "name": "name", + "description": "Name of the team" + }, + { + "name": "node_id" + }, + { + "name": "permission", + "description": "Permission that the team will have for its repositories" + }, + { + "name": "privacy" + }, + { + "name": "repositories_url" + }, + { + "name": "slug" + }, + { + "name": "url", + "description": "URL for the team" + } + ] + }, + { + "name": "permission", + "description": "Permission that the team will have for its repositories" + }, + { + "name": "privacy" + }, + { + "name": "repositories_url" + }, + { + "name": "slug" + }, + { + "name": "url", + "description": "URL for the team" + } + ] + }, + { + "name": "review_comment_url" + }, + { + "name": "review_comments" + }, + { + "name": "review_comments_url" + }, + { + "name": "state", + "description": "State of this Pull Request. Either `open` or `closed`." + }, + { + "name": "statuses_url" + }, + { + "name": "title", + "description": "The title of the pull request." + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "_links", + "childParamsGroups": [ + { + "name": "comments", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "commits", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "html", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "issue", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "review_comment", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "review_comments", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "self", + "childParamsGroups": [ + { + "name": "href" + } + ] + }, + { + "name": "statuses", + "childParamsGroups": [ + { + "name": "href" + } + ] + } + ] + }, + { + "name": "active_lock_reason" + }, + { + "name": "additions" + }, + { + "name": "assignee" + }, + { + "name": "assignees" + }, + { + "name": "author_association" + }, + { + "name": "auto_merge" + }, + { + "name": "base", + "childParamsGroups": [ + { + "name": "label" + }, + { + "name": "ref" + }, + { + "name": "repo", + "childParamsGroups": [ + { + "name": "allow_auto_merge" + }, + { + "name": "allow_forking" + }, + { + "name": "allow_merge_commit" + }, + { + "name": "allow_rebase_merge" + }, + { + "name": "allow_squash_merge" + }, + { + "name": "allow_update_branch" + }, + { + "name": "archive_url" + }, + { + "name": "archived" + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "clone_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "created_at" + }, + { + "name": "default_branch" + }, + { + "name": "delete_branch_on_merge" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "disabled" + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks" + }, + { + "name": "forks_count" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "git_url" + }, + { + "name": "has_downloads" + }, + { + "name": "has_issues" + }, + { + "name": "has_pages" + }, + { + "name": "has_projects" + }, + { + "name": "has_wiki" + }, + { + "name": "homepage" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "is_template" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "language" + }, + { + "name": "languages_url" + }, + { + "name": "license" + }, + { + "name": "merge_commit_message" + }, + { + "name": "merge_commit_title" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "private" + }, + { + "name": "pulls_url" + }, + { + "name": "pushed_at" + }, + { + "name": "releases_url" + }, + { + "name": "size" + }, + { + "name": "squash_merge_commit_message" + }, + { + "name": "squash_merge_commit_title" + }, + { + "name": "ssh_url" + }, + { + "name": "stargazers_count" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "svn_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "topics" + }, + { + "name": "trees_url" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "use_squash_pr_title_as_default" + }, + { + "name": "visibility" + }, + { + "name": "watchers" + }, + { + "name": "watchers_count" + }, + { + "name": "web_commit_signoff_required" + } + ] + }, + { + "name": "sha" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "body" + }, + { + "name": "changed_files" + }, + { + "name": "closed_at" + }, + { + "name": "comments" + }, + { + "name": "comments_url" + }, + { + "name": "commits" + }, + { + "name": "commits_url" + }, + { + "name": "created_at" + }, + { + "name": "deletions" + }, + { + "name": "diff_url" + }, + { + "name": "draft" + }, + { + "name": "head", + "childParamsGroups": [ + { + "name": "label" + }, + { + "name": "ref" + }, + { + "name": "repo", + "childParamsGroups": [ + { + "name": "allow_auto_merge" + }, + { + "name": "allow_forking" + }, + { + "name": "allow_merge_commit" + }, + { + "name": "allow_rebase_merge" + }, + { + "name": "allow_squash_merge" + }, + { + "name": "allow_update_branch" + }, + { + "name": "archive_url" + }, + { + "name": "archived" + }, + { + "name": "assignees_url" + }, + { + "name": "blobs_url" + }, + { + "name": "branches_url" + }, + { + "name": "clone_url" + }, + { + "name": "collaborators_url" + }, + { + "name": "comments_url" + }, + { + "name": "commits_url" + }, + { + "name": "compare_url" + }, + { + "name": "contents_url" + }, + { + "name": "contributors_url" + }, + { + "name": "created_at" + }, + { + "name": "default_branch" + }, + { + "name": "delete_branch_on_merge" + }, + { + "name": "deployments_url" + }, + { + "name": "description" + }, + { + "name": "disabled" + }, + { + "name": "downloads_url" + }, + { + "name": "events_url" + }, + { + "name": "fork" + }, + { + "name": "forks" + }, + { + "name": "forks_count" + }, + { + "name": "forks_url" + }, + { + "name": "full_name" + }, + { + "name": "git_commits_url" + }, + { + "name": "git_refs_url" + }, + { + "name": "git_tags_url" + }, + { + "name": "git_url" + }, + { + "name": "has_downloads" + }, + { + "name": "has_issues" + }, + { + "name": "has_pages" + }, + { + "name": "has_projects" + }, + { + "name": "has_wiki" + }, + { + "name": "homepage" + }, + { + "name": "hooks_url" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "is_template" + }, + { + "name": "issue_comment_url" + }, + { + "name": "issue_events_url" + }, + { + "name": "issues_url" + }, + { + "name": "keys_url" + }, + { + "name": "labels_url" + }, + { + "name": "language" + }, + { + "name": "languages_url" + }, + { + "name": "license" + }, + { + "name": "merge_commit_message" + }, + { + "name": "merge_commit_title" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "private" + }, + { + "name": "pulls_url" + }, + { + "name": "pushed_at" + }, + { + "name": "releases_url" + }, + { + "name": "size" + }, + { + "name": "squash_merge_commit_message" + }, + { + "name": "squash_merge_commit_title" + }, + { + "name": "ssh_url" + }, + { + "name": "stargazers_count" + }, + { + "name": "stargazers_url" + }, + { + "name": "statuses_url" + }, + { + "name": "subscribers_url" + }, + { + "name": "subscription_url" + }, + { + "name": "svn_url" + }, + { + "name": "tags_url" + }, + { + "name": "teams_url" + }, + { + "name": "topics" + }, + { + "name": "trees_url" + }, + { + "name": "updated_at" + }, + { + "name": "url" + }, + { + "name": "use_squash_pr_title_as_default" + }, + { + "name": "visibility" + }, + { + "name": "watchers" + }, + { + "name": "watchers_count" + }, + { + "name": "web_commit_signoff_required" + } + ] + }, + { + "name": "sha" + }, + { + "name": "user", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + } + ] + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "issue_url" + }, + { + "name": "labels" + }, + { + "name": "locked" + }, + { + "name": "maintainer_can_modify" + }, + { + "name": "merge_commit_sha" + }, + { + "name": "mergeable" + }, + { + "name": "mergeable_state" + }, + { + "name": "merged" }, { - "type": "string or null", "name": "merged_at" }, { - "type": "object or null", "name": "merged_by" }, { - "type": "object or null", "name": "milestone" }, { - "type": "string", "name": "node_id" }, { - "type": "integer", "name": "number" }, { - "type": "string", "name": "patch_url" }, { - "type": "boolean or null", "name": "rebaseable" }, { - "type": "array of objects", "name": "requested_reviewers" }, { - "type": "array of objects", "name": "requested_teams" }, { - "type": "string", "name": "review_comment_url" }, { - "type": "integer", "name": "review_comments" }, { - "type": "string", "name": "review_comments_url" }, { - "type": "string", "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "closed", - "open" - ] + "description": "State of this Pull Request. Either `open` or `closed`." }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "title" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "object", "name": "user", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] @@ -47778,1276 +11814,809 @@ 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "closed", - "category": "pull_request" + "action": "closed" }, "converted_to_draft": { - "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).\"", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "converted_to_draft" - ] - }, + 0, 1, 2, - 83, + 34, 3, { - "type": "object", "name": "pull_request", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "_links", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "comments", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "commits", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "html", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "issue", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "review_comment", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "review_comments", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "self", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "statuses", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] } ] }, { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] + "name": "active_lock_reason" }, { - "type": "integer", "name": "additions" }, { - "type": "object or null", "name": "assignee", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "array of objects", "name": "assignees", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] + "description": "How the author is associated with the repository." }, { - "type": "object or null", "name": "auto_merge", "description": "The status of auto merging a pull request.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true + "description": "Commit message for the merge commit." }, { - "type": "string or null", "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true + "description": "Title for the merge commit message." }, { - "type": "object or null", "name": "enabled_by", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] + "description": "The merge method to use." } ] }, { - "type": "object", "name": "base", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "label", - "isRequired": true + "name": "label" }, { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object", "name": "repo", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "string", "name": "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" - ] + "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)." }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "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": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -49055,836 +12624,529 @@ ] }, { - "type": "string or null", - "name": "body", - "isRequired": true + "name": "body" }, { - "type": "integer", "name": "changed_files" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", "name": "comments" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "integer", "name": "commits" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "integer", "name": "deletions" }, { - "type": "string", - "name": "diff_url", - "isRequired": true + "name": "diff_url" }, { - "type": "boolean", "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true + "description": "Indicates whether or not the pull request is a draft." }, { - "type": "object", "name": "head", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "label", - "isRequired": true + "name": "label" }, { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object or null", "name": "repo", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "string", "name": "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" - ] + "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)." }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "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": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -49892,769 +13154,517 @@ ] }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "issue_url", - "isRequired": true + "name": "issue_url" }, { - "type": "array of objects", "name": "labels", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true + "description": "6-character hex code, without the leading #, identifying the color" }, { - "type": "boolean", - "name": "default", - "isRequired": true + "name": "default" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", "name": "name", - "description": "The name of the label.", - "isRequired": true + "description": "The name of the label." }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "url", - "description": "URL for the label", - "isRequired": true + "description": "URL for the label" } ] }, { - "type": "boolean", - "name": "locked", - "isRequired": true + "name": "locked" }, { - "type": "boolean", "name": "maintainer_can_modify", "description": "Indicates whether maintainers can modify the pull request." }, { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true + "name": "merge_commit_sha" }, { - "type": "boolean or null", "name": "mergeable" }, { - "type": "string", "name": "mergeable_state" }, { - "type": "boolean or null", "name": "merged" }, { - "type": "string or null", - "name": "merged_at", - "isRequired": true + "name": "merged_at" }, { - "type": "object or null", "name": "merged_by", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object or null", "name": "milestone", "description": "A collection of related issues and pull requests.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", - "name": "closed_issues", - "isRequired": true + "name": "closed_issues" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "object or null", "name": "creator", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string or null", - "name": "due_on", - "isRequired": true + "name": "due_on" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", "name": "number", - "description": "The number of the milestone.", - "isRequired": true + "description": "The number of the milestone." }, { - "type": "integer", - "name": "open_issues", - "isRequired": true + "name": "open_issues" }, { - "type": "string", "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "description": "The state of the milestone." }, { - "type": "string", "name": "title", - "description": "The title of the milestone.", - "isRequired": true + "description": "The title of the milestone." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true + "description": "Number uniquely identifying the pull request within its repository." }, { - "type": "string", - "name": "patch_url", - "isRequired": true + "name": "patch_url" }, { - "type": "boolean or null", "name": "rebaseable" }, { - "type": "array", - "name": "requested_reviewers", - "isRequired": true + "name": "requested_reviewers" }, { - "type": "array of objects", "name": "requested_teams", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "description", "description": "Description of the team" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the team", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", "name": "members_url" }, { - "type": "string", "name": "name", - "description": "Name of the team", - "isRequired": true + "description": "Name of the team" }, { - "type": "string", "name": "node_id" }, { - "type": "object or null", "name": "parent", "childParamsGroups": [ { - "type": "string or null", "name": "description", - "description": "Description of the team", - "isRequired": true + "description": "Description of the team" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the team", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", - "name": "members_url", - "isRequired": true + "name": "members_url" }, { - "type": "string", "name": "name", - "description": "Name of the team", - "isRequired": true + "description": "Name of the team" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true + "description": "Permission that the team will have for its repositories" }, { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] + "name": "privacy" }, { - "type": "string", - "name": "repositories_url", - "isRequired": true + "name": "repositories_url" }, { - "type": "string", - "name": "slug", - "isRequired": true + "name": "slug" }, { - "type": "string", "name": "url", - "description": "URL for the team", - "isRequired": true + "description": "URL for the team" } ] }, { - "type": "string", "name": "permission", "description": "Permission that the team will have for its repositories" }, { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] + "name": "privacy" }, { - "type": "string", "name": "repositories_url" }, { - "type": "string", "name": "slug" }, { - "type": "string", "name": "url", "description": "URL for the team" } ] }, { - "type": "string", - "name": "review_comment_url", - "isRequired": true + "name": "review_comment_url" }, { - "type": "integer", "name": "review_comments" }, { - "type": "string", - "name": "review_comments_url", - "isRequired": true + "name": "review_comments_url" }, { - "type": "string", "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "description": "State of this Pull Request. Either `open` or `closed`." }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", "name": "title", - "description": "The title of the pull request.", - "isRequired": true + "description": "The title of the pull request." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "_links", "childParamsGroups": [ { - "type": "object", "name": "comments", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "commits", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "html", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "issue", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "review_comment", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "review_comments", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "self", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "statuses", "childParamsGroups": [ { - "type": "string", "name": "href" } ] @@ -50662,573 +13672,418 @@ ] }, { - "type": "string or null", "name": "active_lock_reason" }, { - "type": "integer", "name": "additions" }, { - "type": "object or null", "name": "assignee" }, { - "type": "array of objects", "name": "assignees" }, { - "type": "string", "name": "author_association" }, { - "type": "object or null", "name": "auto_merge" }, { - "type": "object", "name": "base", "childParamsGroups": [ { - "type": "string", "name": "label" }, { - "type": "string", "name": "ref" }, { - "type": "object", "name": "repo", "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge" }, { - "type": "boolean", "name": "allow_forking" }, { - "type": "boolean", "name": "allow_merge_commit" }, { - "type": "boolean", "name": "allow_rebase_merge" }, { - "type": "boolean", "name": "allow_squash_merge" }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", "name": "archive_url" }, { - "type": "boolean", "name": "archived" }, { - "type": "string", "name": "assignees_url" }, { - "type": "string", "name": "blobs_url" }, { - "type": "string", "name": "branches_url" }, { - "type": "string", "name": "clone_url" }, { - "type": "string", "name": "collaborators_url" }, { - "type": "string", "name": "comments_url" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "compare_url" }, { - "type": "string", "name": "contents_url" }, { - "type": "string", "name": "contributors_url" }, { - "type": "string", "name": "created_at" }, { - "type": "string", "name": "default_branch" }, { - "type": "boolean", "name": "delete_branch_on_merge" }, { - "type": "string", "name": "deployments_url" }, { - "type": "string or null", "name": "description" }, { - "type": "boolean", "name": "disabled" }, { - "type": "string", "name": "downloads_url" }, { - "type": "string", "name": "events_url" }, { - "type": "boolean", "name": "fork" }, { - "type": "integer", "name": "forks" }, { - "type": "integer", "name": "forks_count" }, { - "type": "string", "name": "forks_url" }, { - "type": "string", "name": "full_name" }, { - "type": "string", "name": "git_commits_url" }, { - "type": "string", "name": "git_refs_url" }, { - "type": "string", "name": "git_tags_url" }, { - "type": "string", "name": "git_url" }, { - "type": "boolean", "name": "has_downloads" }, { - "type": "boolean", "name": "has_issues" }, { - "type": "boolean", "name": "has_pages" }, { - "type": "boolean", "name": "has_projects" }, { - "type": "boolean", "name": "has_wiki" }, { - "type": "string or null", "name": "homepage" }, { - "type": "string", "name": "hooks_url" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", "name": "issue_comment_url" }, { - "type": "string", "name": "issue_events_url" }, { - "type": "string", "name": "issues_url" }, { - "type": "string", "name": "keys_url" }, { - "type": "string", "name": "labels_url" }, { - "type": "string or null", "name": "language" }, { - "type": "string", "name": "languages_url" }, { - "type": "object or null", "name": "license" }, { - "type": "string", - "name": "merge_commit_message", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ] + "name": "merge_commit_message" }, { - "type": "string", - "name": "merge_commit_title", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ] + "name": "merge_commit_title" }, { - "type": "string", "name": "merges_url" }, { - "type": "string", "name": "milestones_url" }, { - "type": "null", "name": "mirror_url" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "notifications_url" }, { - "type": "integer", "name": "open_issues" }, { - "type": "integer", "name": "open_issues_count" }, { - "type": "object", "name": "owner", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "boolean", "name": "private" }, { - "type": "string", "name": "pulls_url" }, { - "type": "string", "name": "pushed_at" }, { - "type": "string", "name": "releases_url" }, { - "type": "integer", "name": "size" }, { - "type": "string", - "name": "squash_merge_commit_message", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ] + "name": "squash_merge_commit_message" }, { - "type": "string", - "name": "squash_merge_commit_title", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_TITLE" - ] + "name": "squash_merge_commit_title" }, { - "type": "string", "name": "ssh_url" }, { - "type": "integer", "name": "stargazers_count" }, { - "type": "string", "name": "stargazers_url" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "subscribers_url" }, { - "type": "string", "name": "subscription_url" }, { - "type": "string", "name": "svn_url" }, { - "type": "string", "name": "tags_url" }, { - "type": "string", "name": "teams_url" }, { - "type": "array of strings", "name": "topics" }, { - "type": "string", "name": "trees_url" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default" }, { - "type": "string", "name": "visibility" }, { - "type": "integer", "name": "watchers" }, { - "type": "integer", "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required" } ] }, { - "type": "string", "name": "sha" }, { - "type": "object", "name": "user", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] @@ -51236,596 +14091,434 @@ ] }, { - "type": "string or null", "name": "body" }, { - "type": "integer", "name": "changed_files" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", "name": "comments" }, { - "type": "string", "name": "comments_url" }, { - "type": "integer", "name": "commits" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "created_at" }, { - "type": "integer", "name": "deletions" }, { - "type": "string", "name": "diff_url" }, { - "type": "boolean", "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true + "description": "Indicates whether or not the pull request is a draft." }, { - "type": "object", "name": "head", "childParamsGroups": [ { - "type": "string", "name": "label" }, { - "type": "string", "name": "ref" }, { - "type": "object or null", "name": "repo", "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge" }, { - "type": "boolean", "name": "allow_forking" }, { - "type": "boolean", "name": "allow_merge_commit" }, { - "type": "boolean", "name": "allow_rebase_merge" }, { - "type": "boolean", "name": "allow_squash_merge" }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", "name": "archive_url" }, { - "type": "boolean", "name": "archived" }, { - "type": "string", "name": "assignees_url" }, { - "type": "string", "name": "blobs_url" }, { - "type": "string", "name": "branches_url" }, { - "type": "string", "name": "clone_url" }, { - "type": "string", "name": "collaborators_url" }, { - "type": "string", "name": "comments_url" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "compare_url" }, { - "type": "string", "name": "contents_url" }, { - "type": "string", "name": "contributors_url" }, { - "type": "string", "name": "created_at" }, { - "type": "string", "name": "default_branch" }, { - "type": "boolean", "name": "delete_branch_on_merge" }, { - "type": "string", "name": "deployments_url" }, { - "type": "string or null", "name": "description" }, { - "type": "boolean", "name": "disabled" }, { - "type": "string", "name": "downloads_url" }, { - "type": "string", "name": "events_url" }, { - "type": "boolean", "name": "fork" }, { - "type": "integer", "name": "forks" }, { - "type": "integer", "name": "forks_count" }, { - "type": "string", "name": "forks_url" }, { - "type": "string", "name": "full_name" }, { - "type": "string", "name": "git_commits_url" }, { - "type": "string", "name": "git_refs_url" }, { - "type": "string", "name": "git_tags_url" }, { - "type": "string", "name": "git_url" }, { - "type": "boolean", "name": "has_downloads" }, { - "type": "boolean", "name": "has_issues" }, { - "type": "boolean", "name": "has_pages" }, { - "type": "boolean", "name": "has_projects" }, { - "type": "boolean", "name": "has_wiki" }, { - "type": "string or null", "name": "homepage" }, { - "type": "string", "name": "hooks_url" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", "name": "issue_comment_url" }, { - "type": "string", "name": "issue_events_url" }, { - "type": "string", "name": "issues_url" }, { - "type": "string", "name": "keys_url" }, { - "type": "string", "name": "labels_url" }, { - "type": "string or null", "name": "language" }, { - "type": "string", "name": "languages_url" }, { - "type": "object or null", "name": "license" }, { - "type": "string", - "name": "merge_commit_message", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ] + "name": "merge_commit_message" }, { - "type": "string", - "name": "merge_commit_title", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ] + "name": "merge_commit_title" }, { - "type": "string", "name": "merges_url" }, { - "type": "string", "name": "milestones_url" }, { - "type": "null", "name": "mirror_url" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "notifications_url" }, { - "type": "integer", "name": "open_issues" }, { - "type": "integer", "name": "open_issues_count" }, { - "type": "object", "name": "owner", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "boolean", "name": "private" }, { - "type": "string", "name": "pulls_url" }, { - "type": "string", "name": "pushed_at" }, { - "type": "string", "name": "releases_url" }, { - "type": "integer", "name": "size" }, { - "type": "string", - "name": "squash_merge_commit_message", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ] + "name": "squash_merge_commit_message" }, { - "type": "string", - "name": "squash_merge_commit_title", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_TITLE" - ] + "name": "squash_merge_commit_title" }, { - "type": "string", "name": "ssh_url" }, { - "type": "integer", "name": "stargazers_count" }, { - "type": "string", "name": "stargazers_url" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "subscribers_url" }, { - "type": "string", "name": "subscription_url" }, { - "type": "string", "name": "svn_url" }, { - "type": "string", "name": "tags_url" }, { - "type": "string", "name": "teams_url" }, { - "type": "array of strings", "name": "topics" }, { - "type": "string", "name": "trees_url" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default" }, { - "type": "string", "name": "visibility" }, { - "type": "integer", "name": "watchers" }, { - "type": "integer", "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required" } ] }, { - "type": "string", "name": "sha" }, { - "type": "object", "name": "user", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] @@ -51833,193 +14526,141 @@ ] }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "issue_url" }, { - "type": "array of objects", "name": "labels" }, { - "type": "boolean", "name": "locked" }, { - "type": "boolean", "name": "maintainer_can_modify" }, { - "type": "string or null", "name": "merge_commit_sha" }, { - "type": "boolean or null", "name": "mergeable" }, { - "type": "string", "name": "mergeable_state" }, { - "type": "boolean", - "name": "merged", - "isRequired": true, - "enum": [ - false - ] + "name": "merged" }, { - "type": "null", - "name": "merged_at", - "isRequired": true + "name": "merged_at" }, { - "type": "null", - "name": "merged_by", - "isRequired": true + "name": "merged_by" }, { - "type": "object or null", "name": "milestone" }, { - "type": "string", "name": "node_id" }, { - "type": "integer", "name": "number" }, { - "type": "string", "name": "patch_url" }, { - "type": "boolean or null", "name": "rebaseable" }, { - "type": "array of objects", "name": "requested_reviewers" }, { - "type": "array of objects", "name": "requested_teams" }, { - "type": "string", "name": "review_comment_url" }, { - "type": "integer", "name": "review_comments" }, { - "type": "string", "name": "review_comments_url" }, { - "type": "string", "name": "state" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "title" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "object", "name": "user", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] @@ -52029,128 +14670,78 @@ 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "converted_to_draft", - "category": "pull_request" + "action": "converted_to_draft" }, "demilestoned": { - "description": "A pull request was removed from a milestone.", - "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.", "bodyParameters": [ - 51, + 0, 1, - 87, - 83, + 38, + 34, 3, - 88, + 39, 4, - 30 + 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "demilestoned", - "category": "pull_request" + "action": "demilestoned" }, "dequeued": { - "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.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "dequeued" - ] - }, + 0, 1, 2, - 84, + 36, 3, - 86, - 85, + 35, + 37, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "dequeued", - "category": "pull_request" + "action": "dequeued" }, "edited": { - "description": "The title or body of a pull request was edited.", - "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.", "bodyParameters": [ - 8, + 0, { - "type": "object", "name": "changes", - "in": "body", "description": "The changes to the comment if the action was `edited`.", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "base", "childParamsGroups": [ { - "type": "object", "name": "ref", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "from", - "isRequired": true + "name": "from" } ] }, { - "type": "object", "name": "sha", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "from", - "isRequired": true + "name": "from" } ] } ] }, { - "type": "object", "name": "body", "childParamsGroups": [ { - "type": "string", "name": "from", - "description": "The previous version of the body if the action was `edited`.", - "isRequired": true + "description": "The previous version of the body if the action was `edited`." } ] }, { - "type": "object", "name": "title", "childParamsGroups": [ { - "type": "string", "name": "from", - "description": "The previous version of the title if the action was `edited`.", - "isRequired": true + "description": "The previous version of the title if the action was `edited`." } ] } @@ -52158,4156 +14749,868 @@ }, 1, 2, - 83, + 34, 3, - 89, + 35, 4, - 30 + 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "pull_request" + "action": "edited" }, "enqueued": { - "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.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "enqueued" - ] - }, + 0, 1, 2, - 84, + 36, 3, - 86, + 35, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "enqueued", - "category": "pull_request" + "action": "enqueued" }, "labeled": { - "description": "A label was added to a pull request.", - "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.", "bodyParameters": [ - 25, + 0, 1, 2, - 52, - 83, + 16, + 34, 3, - 89, + 35, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "labeled", - "category": "pull_request" + "action": "labeled" }, "locked": { - "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).\"", - "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.", "bodyParameters": [ - 27, + 0, 1, 2, - 83, + 34, 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "integer", - "name": "additions" - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "integer", - "name": "changed_files" - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "integer", - "name": "commits" - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "integer", - "name": "deletions" - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request." - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable" - }, - { - "type": "string", - "name": "mergeable_state" - }, - { - "type": "boolean or null", - "name": "merged" - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable" - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "integer", - "name": "review_comments" - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "description": "The title of the pull request.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 35, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "locked", - "category": "pull_request" + "action": "locked" }, "milestoned": { - "description": "A pull request was added to a milestone.", - "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.", "bodyParameters": [ - 53, + 0, 1, - 87, - 83, + 38, + 34, 3, - 88, + 39, 4, - 30 + 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "milestoned", - "category": "pull_request" + "action": "milestoned" }, "opened": { - "description": "A pull request was created", - "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.", "bodyParameters": [ - 55, + 0, 1, 2, - 83, + 34, 3, { - "type": "object", "name": "pull_request", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "_links", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "comments", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "commits", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "html", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "issue", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "review_comment", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "review_comments", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "self", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "statuses", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] } ] }, { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] + "name": "active_lock_reason" }, { - "type": "integer", "name": "additions" }, { - "type": "object or null", "name": "assignee", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "array of objects", "name": "assignees", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] + "description": "How the author is associated with the repository." }, { - "type": "object or null", "name": "auto_merge", "description": "The status of auto merging a pull request.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true + "description": "Commit message for the merge commit." }, { - "type": "string or null", "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true + "description": "Title for the merge commit message." }, { - "type": "object or null", "name": "enabled_by", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] + "description": "The merge method to use." } ] }, { - "type": "object", "name": "base", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "label", - "isRequired": true + "name": "label" }, { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object", "name": "repo", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "string", "name": "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" - ] + "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)." }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "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": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -56315,836 +15618,529 @@ ] }, { - "type": "string or null", - "name": "body", - "isRequired": true + "name": "body" }, { - "type": "integer", "name": "changed_files" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", "name": "comments" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "integer", "name": "commits" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "integer", "name": "deletions" }, { - "type": "string", - "name": "diff_url", - "isRequired": true + "name": "diff_url" }, { - "type": "boolean", "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true + "description": "Indicates whether or not the pull request is a draft." }, { - "type": "object", "name": "head", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "label", - "isRequired": true + "name": "label" }, { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object", "name": "repo", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merge_commit_message", - "description": "The default value for a merge commit message.", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ] - }, - { - "type": "string", - "name": "merge_commit_title", - "description": "The default value for a merge commit message title.", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ] - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "merge_commit_message", + "description": "The default value for a merge commit message." + }, + { + "name": "merge_commit_title", + "description": "The default value for a merge commit message title." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "string", "name": "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" - ] + "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)." }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "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": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -57152,770 +16148,517 @@ ] }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "issue_url", - "isRequired": true + "name": "issue_url" }, { - "type": "array of objects", "name": "labels", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true + "description": "6-character hex code, without the leading #, identifying the color" }, { - "type": "boolean", - "name": "default", - "isRequired": true + "name": "default" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", "name": "name", - "description": "The name of the label.", - "isRequired": true + "description": "The name of the label." }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "url", - "description": "URL for the label", - "isRequired": true + "description": "URL for the label" } ] }, { - "type": "boolean", - "name": "locked", - "isRequired": true + "name": "locked" }, { - "type": "boolean", "name": "maintainer_can_modify", "description": "Indicates whether maintainers can modify the pull request." }, { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true + "name": "merge_commit_sha" }, { - "type": "boolean or null", "name": "mergeable" }, { - "type": "string", "name": "mergeable_state" }, { - "type": "boolean or null", "name": "merged" }, { - "type": "string or null", - "name": "merged_at", - "isRequired": true + "name": "merged_at" }, { - "type": "object or null", "name": "merged_by", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object or null", "name": "milestone", "description": "A collection of related issues and pull requests.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", - "name": "closed_issues", - "isRequired": true + "name": "closed_issues" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "object or null", "name": "creator", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string or null", - "name": "due_on", - "isRequired": true + "name": "due_on" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", "name": "number", - "description": "The number of the milestone.", - "isRequired": true + "description": "The number of the milestone." }, { - "type": "integer", - "name": "open_issues", - "isRequired": true + "name": "open_issues" }, { - "type": "string", "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "description": "The state of the milestone." }, { - "type": "string", "name": "title", - "description": "The title of the milestone.", - "isRequired": true + "description": "The title of the milestone." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true + "description": "Number uniquely identifying the pull request within its repository." }, { - "type": "string", - "name": "patch_url", - "isRequired": true + "name": "patch_url" }, { - "type": "boolean or null", "name": "rebaseable" }, { - "type": "array", - "name": "requested_reviewers", - "isRequired": true + "name": "requested_reviewers" }, { - "type": "array of objects", "name": "requested_teams", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "description", "description": "Description of the team" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the team", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", "name": "members_url" }, { - "type": "string", "name": "name", - "description": "Name of the team", - "isRequired": true + "description": "Name of the team" }, { - "type": "string", "name": "node_id" }, { - "type": "object or null", "name": "parent", "childParamsGroups": [ { - "type": "string or null", "name": "description", - "description": "Description of the team", - "isRequired": true + "description": "Description of the team" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the team", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", - "name": "members_url", - "isRequired": true + "name": "members_url" }, { - "type": "string", "name": "name", - "description": "Name of the team", - "isRequired": true + "description": "Name of the team" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true + "description": "Permission that the team will have for its repositories" }, { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] + "name": "privacy" }, { - "type": "string", - "name": "repositories_url", - "isRequired": true + "name": "repositories_url" }, { - "type": "string", - "name": "slug", - "isRequired": true + "name": "slug" }, { - "type": "string", "name": "url", - "description": "URL for the team", - "isRequired": true + "description": "URL for the team" } ] }, { - "type": "string", "name": "permission", "description": "Permission that the team will have for its repositories" }, { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] + "name": "privacy" }, { - "type": "string", "name": "repositories_url" }, { - "type": "string", "name": "slug" }, { - "type": "string", "name": "url", "description": "URL for the team" } ] }, { - "type": "string", - "name": "review_comment_url", - "isRequired": true + "name": "review_comment_url" }, { - "type": "integer", "name": "review_comments" }, { - "type": "string", - "name": "review_comments_url", - "isRequired": true + "name": "review_comments_url" }, { - "type": "string", "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "description": "State of this Pull Request. Either `open` or `closed`." }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", "name": "title", - "description": "The title of the pull request.", - "isRequired": true + "description": "The title of the pull request." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "_links", "childParamsGroups": [ { - "type": "object", "name": "comments", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "commits", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "html", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "issue", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "review_comment", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "review_comments", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "self", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "statuses", "childParamsGroups": [ { - "type": "string", "name": "href" } ] @@ -57923,536 +16666,403 @@ ] }, { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true + "name": "active_lock_reason" }, { - "type": "integer", "name": "additions" }, { - "type": "object or null", "name": "assignee" }, { - "type": "array of objects", "name": "assignees" }, { - "type": "string", "name": "author_association" }, { - "type": "object or null", "name": "auto_merge" }, { - "type": "object", "name": "base", "childParamsGroups": [ { - "type": "string", "name": "label" }, { - "type": "string", "name": "ref" }, { - "type": "object", "name": "repo", "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge" }, { - "type": "boolean", "name": "allow_forking" }, { - "type": "boolean", "name": "allow_merge_commit" }, { - "type": "boolean", "name": "allow_rebase_merge" }, { - "type": "boolean", "name": "allow_squash_merge" }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", "name": "archive_url" }, { - "type": "boolean", "name": "archived" }, { - "type": "string", "name": "assignees_url" }, { - "type": "string", "name": "blobs_url" }, { - "type": "string", "name": "branches_url" }, { - "type": "string", "name": "clone_url" }, { - "type": "string", "name": "collaborators_url" }, { - "type": "string", "name": "comments_url" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "compare_url" }, { - "type": "string", "name": "contents_url" }, { - "type": "string", "name": "contributors_url" }, { - "type": "string", "name": "created_at" }, { - "type": "string", "name": "default_branch" }, { - "type": "boolean", "name": "delete_branch_on_merge" }, { - "type": "string", "name": "deployments_url" }, { - "type": "string or null", "name": "description" }, { - "type": "boolean", "name": "disabled" }, { - "type": "string", "name": "downloads_url" }, { - "type": "string", "name": "events_url" }, { - "type": "boolean", "name": "fork" }, { - "type": "integer", "name": "forks" }, { - "type": "integer", "name": "forks_count" }, { - "type": "string", "name": "forks_url" }, { - "type": "string", "name": "full_name" }, { - "type": "string", "name": "git_commits_url" }, { - "type": "string", "name": "git_refs_url" }, { - "type": "string", "name": "git_tags_url" }, { - "type": "string", "name": "git_url" }, { - "type": "boolean", "name": "has_downloads" }, { - "type": "boolean", "name": "has_issues" }, { - "type": "boolean", "name": "has_pages" }, { - "type": "boolean", "name": "has_projects" }, { - "type": "boolean", "name": "has_wiki" }, { - "type": "string or null", "name": "homepage" }, { - "type": "string", "name": "hooks_url" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", "name": "issue_comment_url" }, { - "type": "string", "name": "issue_events_url" }, { - "type": "string", "name": "issues_url" }, { - "type": "string", "name": "keys_url" }, { - "type": "string", "name": "labels_url" }, { - "type": "string or null", "name": "language" }, { - "type": "string", "name": "languages_url" }, { - "type": "object or null", "name": "license" }, { - "type": "string", "name": "merges_url" }, { - "type": "string", "name": "milestones_url" }, { - "type": "string or null", "name": "mirror_url" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "notifications_url" }, { - "type": "integer", "name": "open_issues" }, { - "type": "integer", "name": "open_issues_count" }, { - "type": "object", "name": "owner", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "boolean", "name": "private" }, { - "type": "string", "name": "pulls_url" }, { - "type": "string", "name": "pushed_at" }, { - "type": "string", "name": "releases_url" }, { - "type": "integer", "name": "size" }, { - "type": "string", "name": "ssh_url" }, { - "type": "integer", "name": "stargazers_count" }, { - "type": "string", "name": "stargazers_url" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "subscribers_url" }, { - "type": "string", "name": "subscription_url" }, { - "type": "string", "name": "svn_url" }, { - "type": "string", "name": "tags_url" }, { - "type": "string", "name": "teams_url" }, { - "type": "array of strings", "name": "topics" }, { - "type": "string", "name": "trees_url" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "string", "name": "visibility" }, { - "type": "integer", "name": "watchers" }, { - "type": "integer", "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required" } ] }, { - "type": "string", "name": "sha" }, { - "type": "object", "name": "user", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] @@ -58460,556 +17070,418 @@ ] }, { - "type": "string or null", "name": "body" }, { - "type": "integer", "name": "changed_files" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", "name": "comments" }, { - "type": "string", "name": "comments_url" }, { - "type": "integer", "name": "commits" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "created_at" }, { - "type": "integer", "name": "deletions" }, { - "type": "string", "name": "diff_url" }, { - "type": "boolean", "name": "draft" }, { - "type": "object", "name": "head", "childParamsGroups": [ { - "type": "string", "name": "label" }, { - "type": "string", "name": "ref" }, { - "type": "object", "name": "repo", "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge" }, { - "type": "boolean", "name": "allow_forking" }, { - "type": "boolean", "name": "allow_merge_commit" }, { - "type": "boolean", "name": "allow_rebase_merge" }, { - "type": "boolean", "name": "allow_squash_merge" }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", "name": "archive_url" }, { - "type": "boolean", "name": "archived" }, { - "type": "string", "name": "assignees_url" }, { - "type": "string", "name": "blobs_url" }, { - "type": "string", "name": "branches_url" }, { - "type": "string", "name": "clone_url" }, { - "type": "string", "name": "collaborators_url" }, { - "type": "string", "name": "comments_url" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "compare_url" }, { - "type": "string", "name": "contents_url" }, { - "type": "string", "name": "contributors_url" }, { - "type": "string", "name": "created_at" }, { - "type": "string", "name": "default_branch" }, { - "type": "boolean", "name": "delete_branch_on_merge" }, { - "type": "string", "name": "deployments_url" }, { - "type": "string or null", "name": "description" }, { - "type": "boolean", "name": "disabled" }, { - "type": "string", "name": "downloads_url" }, { - "type": "string", "name": "events_url" }, { - "type": "boolean", "name": "fork" }, { - "type": "integer", "name": "forks" }, { - "type": "integer", "name": "forks_count" }, { - "type": "string", "name": "forks_url" }, { - "type": "string", "name": "full_name" }, { - "type": "string", "name": "git_commits_url" }, { - "type": "string", "name": "git_refs_url" }, { - "type": "string", "name": "git_tags_url" }, { - "type": "string", "name": "git_url" }, { - "type": "boolean", "name": "has_downloads" }, { - "type": "boolean", "name": "has_issues" }, { - "type": "boolean", "name": "has_pages" }, { - "type": "boolean", "name": "has_projects" }, { - "type": "boolean", "name": "has_wiki" }, { - "type": "string or null", "name": "homepage" }, { - "type": "string", "name": "hooks_url" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", "name": "issue_comment_url" }, { - "type": "string", "name": "issue_events_url" }, { - "type": "string", "name": "issues_url" }, { - "type": "string", "name": "keys_url" }, { - "type": "string", "name": "labels_url" }, { - "type": "string or null", "name": "language" }, { - "type": "string", "name": "languages_url" }, { - "type": "object or null", "name": "license" }, { - "type": "string", "name": "merges_url" }, { - "type": "string", "name": "milestones_url" }, { - "type": "string or null", "name": "mirror_url" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "notifications_url" }, { - "type": "integer", "name": "open_issues" }, { - "type": "integer", "name": "open_issues_count" }, { - "type": "object", "name": "owner", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "boolean", "name": "private" }, { - "type": "string", "name": "pulls_url" }, { - "type": "string", "name": "pushed_at" }, { - "type": "string", "name": "releases_url" }, { - "type": "integer", "name": "size" }, { - "type": "string", "name": "ssh_url" }, { - "type": "integer", "name": "stargazers_count" }, { - "type": "string", "name": "stargazers_url" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "subscribers_url" }, { - "type": "string", "name": "subscription_url" }, { - "type": "string", "name": "svn_url" }, { - "type": "string", "name": "tags_url" }, { - "type": "string", "name": "teams_url" }, { - "type": "array of strings", "name": "topics" }, { - "type": "string", "name": "trees_url" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "string", "name": "visibility" }, { - "type": "integer", "name": "watchers" }, { - "type": "integer", "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required" } ] }, { - "type": "string", "name": "sha" }, { - "type": "object", "name": "user", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] @@ -59017,195 +17489,141 @@ ] }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "issue_url" }, { - "type": "array of objects", "name": "labels" }, { - "type": "boolean", "name": "locked" }, { - "type": "boolean", "name": "maintainer_can_modify" }, { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true + "name": "merge_commit_sha" }, { - "type": "boolean or null", "name": "mergeable" }, { - "type": "string", "name": "mergeable_state" }, { - "type": "boolean", "name": "merged" }, { - "type": "string or null", - "name": "merged_at", - "isRequired": true + "name": "merged_at" }, { - "type": "object or null", - "name": "merged_by", - "isRequired": true + "name": "merged_by" }, { - "type": "object or null", "name": "milestone" }, { - "type": "string", "name": "node_id" }, { - "type": "integer", "name": "number" }, { - "type": "string", "name": "patch_url" }, { - "type": "boolean or null", "name": "rebaseable" }, { - "type": "array of objects", "name": "requested_reviewers" }, { - "type": "array of objects", "name": "requested_teams" }, { - "type": "string", "name": "review_comment_url" }, { - "type": "integer", "name": "review_comments" }, { - "type": "string", "name": "review_comments_url" }, { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "name": "state" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "title" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "object", "name": "user", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] @@ -59215,1276 +17633,809 @@ 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "opened", - "category": "pull_request" + "action": "opened" }, "ready_for_review": { - "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).\"", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "ready_for_review" - ] - }, + 0, 1, 2, - 83, + 34, 3, { - "type": "object", "name": "pull_request", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "_links", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "comments", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "commits", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "html", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "issue", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "review_comment", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "review_comments", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "self", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "statuses", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] } ] }, { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] + "name": "active_lock_reason" }, { - "type": "integer", "name": "additions" }, { - "type": "object or null", "name": "assignee", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "array of objects", "name": "assignees", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] + "description": "How the author is associated with the repository." }, { - "type": "object or null", "name": "auto_merge", "description": "The status of auto merging a pull request.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true + "description": "Commit message for the merge commit." }, { - "type": "string or null", "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true + "description": "Title for the merge commit message." }, { - "type": "object or null", "name": "enabled_by", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] + "description": "The merge method to use." } ] }, { - "type": "object", "name": "base", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "label", - "isRequired": true + "name": "label" }, { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object", "name": "repo", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "string", "name": "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" - ] + "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)." }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "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": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -60492,836 +18443,529 @@ ] }, { - "type": "string or null", - "name": "body", - "isRequired": true + "name": "body" }, { - "type": "integer", "name": "changed_files" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", "name": "comments" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "integer", "name": "commits" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "integer", "name": "deletions" }, { - "type": "string", - "name": "diff_url", - "isRequired": true + "name": "diff_url" }, { - "type": "boolean", "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true + "description": "Indicates whether or not the pull request is a draft." }, { - "type": "object", "name": "head", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "label", - "isRequired": true + "name": "label" }, { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object", "name": "repo", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "string", "name": "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" - ] + "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)." }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "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": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -61329,770 +18973,517 @@ ] }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "issue_url", - "isRequired": true + "name": "issue_url" }, { - "type": "array of objects", "name": "labels", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true + "description": "6-character hex code, without the leading #, identifying the color" }, { - "type": "boolean", - "name": "default", - "isRequired": true + "name": "default" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", "name": "name", - "description": "The name of the label.", - "isRequired": true + "description": "The name of the label." }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "url", - "description": "URL for the label", - "isRequired": true + "description": "URL for the label" } ] }, { - "type": "boolean", - "name": "locked", - "isRequired": true + "name": "locked" }, { - "type": "boolean", "name": "maintainer_can_modify", "description": "Indicates whether maintainers can modify the pull request." }, { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true + "name": "merge_commit_sha" }, { - "type": "boolean or null", "name": "mergeable" }, { - "type": "string", "name": "mergeable_state" }, { - "type": "boolean or null", "name": "merged" }, { - "type": "string or null", - "name": "merged_at", - "isRequired": true + "name": "merged_at" }, { - "type": "object or null", "name": "merged_by", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object or null", "name": "milestone", "description": "A collection of related issues and pull requests.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", - "name": "closed_issues", - "isRequired": true + "name": "closed_issues" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "object or null", "name": "creator", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string or null", - "name": "due_on", - "isRequired": true + "name": "due_on" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", "name": "number", - "description": "The number of the milestone.", - "isRequired": true + "description": "The number of the milestone." }, { - "type": "integer", - "name": "open_issues", - "isRequired": true + "name": "open_issues" }, { - "type": "string", "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "description": "The state of the milestone." }, { - "type": "string", "name": "title", - "description": "The title of the milestone.", - "isRequired": true + "description": "The title of the milestone." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true + "description": "Number uniquely identifying the pull request within its repository." }, { - "type": "string", - "name": "patch_url", - "isRequired": true + "name": "patch_url" }, { - "type": "boolean or null", "name": "rebaseable" }, { - "type": "array", - "name": "requested_reviewers", - "isRequired": true + "name": "requested_reviewers" }, { - "type": "array of objects", "name": "requested_teams", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "description", "description": "Description of the team" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the team", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", "name": "members_url" }, { - "type": "string", "name": "name", - "description": "Name of the team", - "isRequired": true + "description": "Name of the team" }, { - "type": "string", "name": "node_id" }, { - "type": "object or null", "name": "parent", "childParamsGroups": [ { - "type": "string or null", "name": "description", - "description": "Description of the team", - "isRequired": true + "description": "Description of the team" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the team", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", - "name": "members_url", - "isRequired": true + "name": "members_url" }, { - "type": "string", "name": "name", - "description": "Name of the team", - "isRequired": true + "description": "Name of the team" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true + "description": "Permission that the team will have for its repositories" }, { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] + "name": "privacy" }, { - "type": "string", - "name": "repositories_url", - "isRequired": true + "name": "repositories_url" }, { - "type": "string", - "name": "slug", - "isRequired": true + "name": "slug" }, { - "type": "string", "name": "url", - "description": "URL for the team", - "isRequired": true + "description": "URL for the team" } ] }, { - "type": "string", "name": "permission", "description": "Permission that the team will have for its repositories" }, { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] + "name": "privacy" }, { - "type": "string", "name": "repositories_url" }, { - "type": "string", "name": "slug" }, { - "type": "string", "name": "url", "description": "URL for the team" } ] }, { - "type": "string", - "name": "review_comment_url", - "isRequired": true + "name": "review_comment_url" }, { - "type": "integer", "name": "review_comments" }, { - "type": "string", - "name": "review_comments_url", - "isRequired": true + "name": "review_comments_url" }, { - "type": "string", "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "description": "State of this Pull Request. Either `open` or `closed`." }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", "name": "title", - "description": "The title of the pull request.", - "isRequired": true + "description": "The title of the pull request." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "_links", "childParamsGroups": [ { - "type": "object", "name": "comments", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "commits", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "html", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "issue", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "review_comment", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "review_comments", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "self", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "statuses", "childParamsGroups": [ { - "type": "string", "name": "href" } ] @@ -62100,573 +19491,418 @@ ] }, { - "type": "string or null", "name": "active_lock_reason" }, { - "type": "integer", "name": "additions" }, { - "type": "object or null", "name": "assignee" }, { - "type": "array of objects", "name": "assignees" }, { - "type": "string", "name": "author_association" }, { - "type": "object or null", "name": "auto_merge" }, { - "type": "object", "name": "base", "childParamsGroups": [ { - "type": "string", "name": "label" }, { - "type": "string", "name": "ref" }, { - "type": "object", "name": "repo", "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge" }, { - "type": "boolean", "name": "allow_forking" }, { - "type": "boolean", "name": "allow_merge_commit" }, { - "type": "boolean", "name": "allow_rebase_merge" }, { - "type": "boolean", "name": "allow_squash_merge" }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", "name": "archive_url" }, { - "type": "boolean", "name": "archived" }, { - "type": "string", "name": "assignees_url" }, { - "type": "string", "name": "blobs_url" }, { - "type": "string", "name": "branches_url" }, { - "type": "string", "name": "clone_url" }, { - "type": "string", "name": "collaborators_url" }, { - "type": "string", "name": "comments_url" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "compare_url" }, { - "type": "string", "name": "contents_url" }, { - "type": "string", "name": "contributors_url" }, { - "type": "string", "name": "created_at" }, { - "type": "string", "name": "default_branch" }, { - "type": "boolean", "name": "delete_branch_on_merge" }, { - "type": "string", "name": "deployments_url" }, { - "type": "string or null", "name": "description" }, { - "type": "boolean", "name": "disabled" }, { - "type": "string", "name": "downloads_url" }, { - "type": "string", "name": "events_url" }, { - "type": "boolean", "name": "fork" }, { - "type": "integer", "name": "forks" }, { - "type": "integer", "name": "forks_count" }, { - "type": "string", "name": "forks_url" }, { - "type": "string", "name": "full_name" }, { - "type": "string", "name": "git_commits_url" }, { - "type": "string", "name": "git_refs_url" }, { - "type": "string", "name": "git_tags_url" }, { - "type": "string", "name": "git_url" }, { - "type": "boolean", "name": "has_downloads" }, { - "type": "boolean", "name": "has_issues" }, { - "type": "boolean", "name": "has_pages" }, { - "type": "boolean", "name": "has_projects" }, { - "type": "boolean", "name": "has_wiki" }, { - "type": "string or null", "name": "homepage" }, { - "type": "string", "name": "hooks_url" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", "name": "issue_comment_url" }, { - "type": "string", "name": "issue_events_url" }, { - "type": "string", "name": "issues_url" }, { - "type": "string", "name": "keys_url" }, { - "type": "string", "name": "labels_url" }, { - "type": "string or null", "name": "language" }, { - "type": "string", "name": "languages_url" }, { - "type": "object or null", "name": "license" }, { - "type": "string", - "name": "merge_commit_message", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ] + "name": "merge_commit_message" }, { - "type": "string", - "name": "merge_commit_title", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ] + "name": "merge_commit_title" }, { - "type": "string", "name": "merges_url" }, { - "type": "string", "name": "milestones_url" }, { - "type": "string or null", "name": "mirror_url" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "notifications_url" }, { - "type": "integer", "name": "open_issues" }, { - "type": "integer", "name": "open_issues_count" }, { - "type": "object", "name": "owner", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "boolean", "name": "private" }, { - "type": "string", "name": "pulls_url" }, { - "type": "string", "name": "pushed_at" }, { - "type": "string", "name": "releases_url" }, { - "type": "integer", "name": "size" }, { - "type": "string", - "name": "squash_merge_commit_message", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ] + "name": "squash_merge_commit_message" }, { - "type": "string", - "name": "squash_merge_commit_title", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_TITLE" - ] + "name": "squash_merge_commit_title" }, { - "type": "string", "name": "ssh_url" }, { - "type": "integer", "name": "stargazers_count" }, { - "type": "string", "name": "stargazers_url" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "subscribers_url" }, { - "type": "string", "name": "subscription_url" }, { - "type": "string", "name": "svn_url" }, { - "type": "string", "name": "tags_url" }, { - "type": "string", "name": "teams_url" }, { - "type": "array of strings", "name": "topics" }, { - "type": "string", "name": "trees_url" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default" }, { - "type": "string", "name": "visibility" }, { - "type": "integer", "name": "watchers" }, { - "type": "integer", "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required" } ] }, { - "type": "string", "name": "sha" }, { - "type": "object", "name": "user", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] @@ -62674,596 +19910,434 @@ ] }, { - "type": "string or null", "name": "body" }, { - "type": "integer", "name": "changed_files" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", "name": "comments" }, { - "type": "string", "name": "comments_url" }, { - "type": "integer", "name": "commits" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "created_at" }, { - "type": "integer", "name": "deletions" }, { - "type": "string", "name": "diff_url" }, { - "type": "boolean", "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true + "description": "Indicates whether or not the pull request is a draft." }, { - "type": "object", "name": "head", "childParamsGroups": [ { - "type": "string", "name": "label" }, { - "type": "string", "name": "ref" }, { - "type": "object", "name": "repo", "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge" }, { - "type": "boolean", "name": "allow_forking" }, { - "type": "boolean", "name": "allow_merge_commit" }, { - "type": "boolean", "name": "allow_rebase_merge" }, { - "type": "boolean", "name": "allow_squash_merge" }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", "name": "archive_url" }, { - "type": "boolean", "name": "archived" }, { - "type": "string", "name": "assignees_url" }, { - "type": "string", "name": "blobs_url" }, { - "type": "string", "name": "branches_url" }, { - "type": "string", "name": "clone_url" }, { - "type": "string", "name": "collaborators_url" }, { - "type": "string", "name": "comments_url" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "compare_url" }, { - "type": "string", "name": "contents_url" }, { - "type": "string", "name": "contributors_url" }, { - "type": "string", "name": "created_at" }, { - "type": "string", "name": "default_branch" }, { - "type": "boolean", "name": "delete_branch_on_merge" }, { - "type": "string", "name": "deployments_url" }, { - "type": "string or null", "name": "description" }, { - "type": "boolean", "name": "disabled" }, { - "type": "string", "name": "downloads_url" }, { - "type": "string", "name": "events_url" }, { - "type": "boolean", "name": "fork" }, { - "type": "integer", "name": "forks" }, { - "type": "integer", "name": "forks_count" }, { - "type": "string", "name": "forks_url" }, { - "type": "string", "name": "full_name" }, { - "type": "string", "name": "git_commits_url" }, { - "type": "string", "name": "git_refs_url" }, { - "type": "string", "name": "git_tags_url" }, { - "type": "string", "name": "git_url" }, { - "type": "boolean", "name": "has_downloads" }, { - "type": "boolean", "name": "has_issues" }, { - "type": "boolean", "name": "has_pages" }, { - "type": "boolean", "name": "has_projects" }, { - "type": "boolean", "name": "has_wiki" }, { - "type": "string or null", "name": "homepage" }, { - "type": "string", "name": "hooks_url" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", "name": "issue_comment_url" }, { - "type": "string", "name": "issue_events_url" }, { - "type": "string", "name": "issues_url" }, { - "type": "string", "name": "keys_url" }, { - "type": "string", "name": "labels_url" }, { - "type": "string or null", "name": "language" }, { - "type": "string", "name": "languages_url" }, { - "type": "object or null", "name": "license" }, { - "type": "string", - "name": "merge_commit_message", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ] + "name": "merge_commit_message" }, { - "type": "string", - "name": "merge_commit_title", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ] + "name": "merge_commit_title" }, { - "type": "string", "name": "merges_url" }, { - "type": "string", "name": "milestones_url" }, { - "type": "string or null", "name": "mirror_url" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "notifications_url" }, { - "type": "integer", "name": "open_issues" }, { - "type": "integer", "name": "open_issues_count" }, { - "type": "object", "name": "owner", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "boolean", "name": "private" }, { - "type": "string", "name": "pulls_url" }, { - "type": "string", "name": "pushed_at" }, { - "type": "string", "name": "releases_url" }, { - "type": "integer", "name": "size" }, { - "type": "string", - "name": "squash_merge_commit_message", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ] + "name": "squash_merge_commit_message" }, { - "type": "string", - "name": "squash_merge_commit_title", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_TITLE" - ] + "name": "squash_merge_commit_title" }, { - "type": "string", "name": "ssh_url" }, { - "type": "integer", "name": "stargazers_count" }, { - "type": "string", "name": "stargazers_url" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "subscribers_url" }, { - "type": "string", "name": "subscription_url" }, { - "type": "string", "name": "svn_url" }, { - "type": "string", "name": "tags_url" }, { - "type": "string", "name": "teams_url" }, { - "type": "array of strings", "name": "topics" }, { - "type": "string", "name": "trees_url" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default" }, { - "type": "string", "name": "visibility" }, { - "type": "integer", "name": "watchers" }, { - "type": "integer", "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required" } ] }, { - "type": "string", "name": "sha" }, { - "type": "object", "name": "user", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] @@ -63271,195 +20345,141 @@ ] }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "issue_url" }, { - "type": "array of objects", "name": "labels" }, { - "type": "boolean", "name": "locked" }, { - "type": "boolean", "name": "maintainer_can_modify" }, { - "type": "string or null", "name": "merge_commit_sha" }, { - "type": "boolean or null", "name": "mergeable" }, { - "type": "string", "name": "mergeable_state" }, { - "type": "boolean", - "name": "merged", - "isRequired": true + "name": "merged" }, { - "type": "string or null", - "name": "merged_at", - "isRequired": true + "name": "merged_at" }, { - "type": "object or null", - "name": "merged_by", - "isRequired": true + "name": "merged_by" }, { - "type": "object or null", "name": "milestone" }, { - "type": "string", "name": "node_id" }, { - "type": "integer", "name": "number" }, { - "type": "string", "name": "patch_url" }, { - "type": "boolean or null", "name": "rebaseable" }, { - "type": "array of objects", "name": "requested_reviewers" }, { - "type": "array of objects", "name": "requested_teams" }, { - "type": "string", "name": "review_comment_url" }, { - "type": "integer", "name": "review_comments" }, { - "type": "string", "name": "review_comments_url" }, { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "name": "state" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "title" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "object", "name": "user", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] @@ -63469,1268 +20489,809 @@ 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "ready_for_review", - "category": "pull_request" + "action": "ready_for_review" }, "reopened": { - "description": "A previously closed pull request was reopened.", - "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.", "bodyParameters": [ - 17, + 0, 1, 2, - 83, + 34, 3, { - "type": "object", "name": "pull_request", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "_links", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "comments", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "commits", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "html", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "issue", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "review_comment", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "review_comments", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "self", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "statuses", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] } ] }, { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] + "name": "active_lock_reason" }, { - "type": "integer", "name": "additions" }, { - "type": "object or null", "name": "assignee", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "array of objects", "name": "assignees", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] + "description": "How the author is associated with the repository." }, { - "type": "object or null", "name": "auto_merge", "description": "The status of auto merging a pull request.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true + "description": "Commit message for the merge commit." }, { - "type": "string", "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true + "description": "Title for the merge commit message." }, { - "type": "object or null", "name": "enabled_by", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] + "description": "The merge method to use." } ] }, { - "type": "object", "name": "base", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "label", - "isRequired": true + "name": "label" }, { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object", "name": "repo", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "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." + }, + { + "name": "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)." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "string", "name": "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" - ] + "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)." }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "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": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -64738,836 +21299,529 @@ ] }, { - "type": "string or null", - "name": "body", - "isRequired": true + "name": "body" }, { - "type": "integer", "name": "changed_files" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", "name": "comments" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "integer", "name": "commits" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "integer", "name": "deletions" }, { - "type": "string", - "name": "diff_url", - "isRequired": true + "name": "diff_url" }, { - "type": "boolean", "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true + "description": "Indicates whether or not the pull request is a draft." }, { - "type": "object", "name": "head", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "label", - "isRequired": true + "name": "label" }, { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object", "name": "repo", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merge_commit_message", - "description": "The default value for a merge commit message.", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ] - }, - { - "type": "string", - "name": "merge_commit_title", - "description": "The default value for a merge commit message title.", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ] - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "merge_commit_message", + "description": "The default value for a merge commit message." + }, + { + "name": "merge_commit_title", + "description": "The default value for a merge commit message title." + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", "name": "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" - ] + "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." }, { - "type": "string", "name": "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" - ] + "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)." }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "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": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -65575,769 +21829,517 @@ ] }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "issue_url", - "isRequired": true + "name": "issue_url" }, { - "type": "array of objects", "name": "labels", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true + "description": "6-character hex code, without the leading #, identifying the color" }, { - "type": "boolean", - "name": "default", - "isRequired": true + "name": "default" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", "name": "name", - "description": "The name of the label.", - "isRequired": true + "description": "The name of the label." }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "url", - "description": "URL for the label", - "isRequired": true + "description": "URL for the label" } ] }, { - "type": "boolean", - "name": "locked", - "isRequired": true + "name": "locked" }, { - "type": "boolean", "name": "maintainer_can_modify", "description": "Indicates whether maintainers can modify the pull request." }, { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true + "name": "merge_commit_sha" }, { - "type": "boolean or null", "name": "mergeable" }, { - "type": "string", "name": "mergeable_state" }, { - "type": "boolean or null", "name": "merged" }, { - "type": "string or null", - "name": "merged_at", - "isRequired": true + "name": "merged_at" }, { - "type": "object or null", "name": "merged_by", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object or null", "name": "milestone", "description": "A collection of related issues and pull requests.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", - "name": "closed_issues", - "isRequired": true + "name": "closed_issues" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "object or null", "name": "creator", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string or null", - "name": "due_on", - "isRequired": true + "name": "due_on" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", "name": "number", - "description": "The number of the milestone.", - "isRequired": true + "description": "The number of the milestone." }, { - "type": "integer", - "name": "open_issues", - "isRequired": true + "name": "open_issues" }, { - "type": "string", "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "description": "The state of the milestone." }, { - "type": "string", "name": "title", - "description": "The title of the milestone.", - "isRequired": true + "description": "The title of the milestone." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true + "description": "Number uniquely identifying the pull request within its repository." }, { - "type": "string", - "name": "patch_url", - "isRequired": true + "name": "patch_url" }, { - "type": "boolean or null", "name": "rebaseable" }, { - "type": "array", - "name": "requested_reviewers", - "isRequired": true + "name": "requested_reviewers" }, { - "type": "array of objects", "name": "requested_teams", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "description", "description": "Description of the team" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the team", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", "name": "members_url" }, { - "type": "string", "name": "name", - "description": "Name of the team", - "isRequired": true + "description": "Name of the team" }, { - "type": "string", "name": "node_id" }, { - "type": "object or null", "name": "parent", "childParamsGroups": [ { - "type": "string or null", "name": "description", - "description": "Description of the team", - "isRequired": true + "description": "Description of the team" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the team", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", - "name": "members_url", - "isRequired": true + "name": "members_url" }, { - "type": "string", "name": "name", - "description": "Name of the team", - "isRequired": true + "description": "Name of the team" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true + "description": "Permission that the team will have for its repositories" }, { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] + "name": "privacy" }, { - "type": "string", - "name": "repositories_url", - "isRequired": true + "name": "repositories_url" }, { - "type": "string", - "name": "slug", - "isRequired": true + "name": "slug" }, { - "type": "string", "name": "url", - "description": "URL for the team", - "isRequired": true + "description": "URL for the team" } ] }, { - "type": "string", "name": "permission", "description": "Permission that the team will have for its repositories" }, { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] + "name": "privacy" }, { - "type": "string", "name": "repositories_url" }, { - "type": "string", "name": "slug" }, { - "type": "string", "name": "url", "description": "URL for the team" } ] }, { - "type": "string", - "name": "review_comment_url", - "isRequired": true + "name": "review_comment_url" }, { - "type": "integer", "name": "review_comments" }, { - "type": "string", - "name": "review_comments_url", - "isRequired": true + "name": "review_comments_url" }, { - "type": "string", "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "description": "State of this Pull Request. Either `open` or `closed`." }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", "name": "title", - "description": "The title of the pull request.", - "isRequired": true + "description": "The title of the pull request." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "_links", "childParamsGroups": [ { - "type": "object", "name": "comments", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "commits", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "html", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "issue", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "review_comment", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "review_comments", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "self", "childParamsGroups": [ { - "type": "string", "name": "href" } ] }, { - "type": "object", "name": "statuses", "childParamsGroups": [ { - "type": "string", "name": "href" } ] @@ -66345,573 +22347,418 @@ ] }, { - "type": "string or null", "name": "active_lock_reason" }, { - "type": "integer", "name": "additions" }, { - "type": "object or null", "name": "assignee" }, { - "type": "array of objects", "name": "assignees" }, { - "type": "string", "name": "author_association" }, { - "type": "null", "name": "auto_merge" }, { - "type": "object", "name": "base", "childParamsGroups": [ { - "type": "string", "name": "label" }, { - "type": "string", "name": "ref" }, { - "type": "object", "name": "repo", "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge" }, { - "type": "boolean", "name": "allow_forking" }, { - "type": "boolean", "name": "allow_merge_commit" }, { - "type": "boolean", "name": "allow_rebase_merge" }, { - "type": "boolean", "name": "allow_squash_merge" }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", "name": "archive_url" }, { - "type": "boolean", "name": "archived" }, { - "type": "string", "name": "assignees_url" }, { - "type": "string", "name": "blobs_url" }, { - "type": "string", "name": "branches_url" }, { - "type": "string", "name": "clone_url" }, { - "type": "string", "name": "collaborators_url" }, { - "type": "string", "name": "comments_url" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "compare_url" }, { - "type": "string", "name": "contents_url" }, { - "type": "string", "name": "contributors_url" }, { - "type": "string", "name": "created_at" }, { - "type": "string", "name": "default_branch" }, { - "type": "boolean", "name": "delete_branch_on_merge" }, { - "type": "string", "name": "deployments_url" }, { - "type": "string or null", "name": "description" }, { - "type": "boolean", "name": "disabled" }, { - "type": "string", "name": "downloads_url" }, { - "type": "string", "name": "events_url" }, { - "type": "boolean", "name": "fork" }, { - "type": "integer", "name": "forks" }, { - "type": "integer", "name": "forks_count" }, { - "type": "string", "name": "forks_url" }, { - "type": "string", "name": "full_name" }, { - "type": "string", "name": "git_commits_url" }, { - "type": "string", "name": "git_refs_url" }, { - "type": "string", "name": "git_tags_url" }, { - "type": "string", "name": "git_url" }, { - "type": "boolean", "name": "has_downloads" }, { - "type": "boolean", "name": "has_issues" }, { - "type": "boolean", "name": "has_pages" }, { - "type": "boolean", "name": "has_projects" }, { - "type": "boolean", "name": "has_wiki" }, { - "type": "string or null", "name": "homepage" }, { - "type": "string", "name": "hooks_url" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", "name": "issue_comment_url" }, { - "type": "string", "name": "issue_events_url" }, { - "type": "string", "name": "issues_url" }, { - "type": "string", "name": "keys_url" }, { - "type": "string", "name": "labels_url" }, { - "type": "string or null", "name": "language" }, { - "type": "string", "name": "languages_url" }, { - "type": "object or null", "name": "license" }, { - "type": "string", - "name": "merge_commit_message", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ] + "name": "merge_commit_message" }, { - "type": "string", - "name": "merge_commit_title", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ] + "name": "merge_commit_title" }, { - "type": "string", "name": "merges_url" }, { - "type": "string", "name": "milestones_url" }, { - "type": "null", "name": "mirror_url" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "notifications_url" }, { - "type": "integer", "name": "open_issues" }, { - "type": "integer", "name": "open_issues_count" }, { - "type": "object", "name": "owner", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "boolean", "name": "private" }, { - "type": "string", "name": "pulls_url" }, { - "type": "string", "name": "pushed_at" }, { - "type": "string", "name": "releases_url" }, { - "type": "integer", "name": "size" }, { - "type": "string", - "name": "squash_merge_commit_message", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ] + "name": "squash_merge_commit_message" }, { - "type": "string", - "name": "squash_merge_commit_title", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_TITLE" - ] + "name": "squash_merge_commit_title" }, { - "type": "string", "name": "ssh_url" }, { - "type": "integer", "name": "stargazers_count" }, { - "type": "string", "name": "stargazers_url" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "subscribers_url" }, { - "type": "string", "name": "subscription_url" }, { - "type": "string", "name": "svn_url" }, { - "type": "string", "name": "tags_url" }, { - "type": "string", "name": "teams_url" }, { - "type": "array of strings", "name": "topics" }, { - "type": "string", "name": "trees_url" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default" }, { - "type": "string", "name": "visibility" }, { - "type": "integer", "name": "watchers" }, { - "type": "integer", "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required" } ] }, { - "type": "string", "name": "sha" }, { - "type": "object", "name": "user", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] @@ -66919,594 +22766,433 @@ ] }, { - "type": "string or null", "name": "body" }, { - "type": "integer", "name": "changed_files" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", "name": "comments" }, { - "type": "string", "name": "comments_url" }, { - "type": "integer", "name": "commits" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "created_at" }, { - "type": "integer", "name": "deletions" }, { - "type": "string", "name": "diff_url" }, { - "type": "boolean", "name": "draft" }, { - "type": "object", "name": "head", "childParamsGroups": [ { - "type": "string", "name": "label" }, { - "type": "string", "name": "ref" }, { - "type": "object", "name": "repo", "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge" }, { - "type": "boolean", "name": "allow_forking" }, { - "type": "boolean", "name": "allow_merge_commit" }, { - "type": "boolean", "name": "allow_rebase_merge" }, { - "type": "boolean", "name": "allow_squash_merge" }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", "name": "archive_url" }, { - "type": "boolean", "name": "archived" }, { - "type": "string", "name": "assignees_url" }, { - "type": "string", "name": "blobs_url" }, { - "type": "string", "name": "branches_url" }, { - "type": "string", "name": "clone_url" }, { - "type": "string", "name": "collaborators_url" }, { - "type": "string", "name": "comments_url" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "compare_url" }, { - "type": "string", "name": "contents_url" }, { - "type": "string", "name": "contributors_url" }, { - "type": "string", "name": "created_at" }, { - "type": "string", "name": "default_branch" }, { - "type": "boolean", "name": "delete_branch_on_merge" }, { - "type": "string", "name": "deployments_url" }, { - "type": "string or null", "name": "description" }, { - "type": "boolean", "name": "disabled" }, { - "type": "string", "name": "downloads_url" }, { - "type": "string", "name": "events_url" }, { - "type": "boolean", "name": "fork" }, { - "type": "integer", "name": "forks" }, { - "type": "integer", "name": "forks_count" }, { - "type": "string", "name": "forks_url" }, { - "type": "string", "name": "full_name" }, { - "type": "string", "name": "git_commits_url" }, { - "type": "string", "name": "git_refs_url" }, { - "type": "string", "name": "git_tags_url" }, { - "type": "string", "name": "git_url" }, { - "type": "boolean", "name": "has_downloads" }, { - "type": "boolean", "name": "has_issues" }, { - "type": "boolean", "name": "has_pages" }, { - "type": "boolean", "name": "has_projects" }, { - "type": "boolean", "name": "has_wiki" }, { - "type": "string or null", "name": "homepage" }, { - "type": "string", "name": "hooks_url" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", "name": "issue_comment_url" }, { - "type": "string", "name": "issue_events_url" }, { - "type": "string", "name": "issues_url" }, { - "type": "string", "name": "keys_url" }, { - "type": "string", "name": "labels_url" }, { - "type": "string or null", "name": "language" }, { - "type": "string", "name": "languages_url" }, { - "type": "object or null", "name": "license" }, { - "type": "string", - "name": "merge_commit_message", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ] + "name": "merge_commit_message" }, { - "type": "string", - "name": "merge_commit_title", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ] + "name": "merge_commit_title" }, { - "type": "string", "name": "merges_url" }, { - "type": "string", "name": "milestones_url" }, { - "type": "null", "name": "mirror_url" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "notifications_url" }, { - "type": "integer", "name": "open_issues" }, { - "type": "integer", "name": "open_issues_count" }, { - "type": "object", "name": "owner", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "boolean", "name": "private" }, { - "type": "string", "name": "pulls_url" }, { - "type": "string", "name": "pushed_at" }, { - "type": "string", "name": "releases_url" }, { - "type": "integer", "name": "size" }, { - "type": "string", - "name": "squash_merge_commit_message", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ] + "name": "squash_merge_commit_message" }, { - "type": "string", - "name": "squash_merge_commit_title", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_TITLE" - ] + "name": "squash_merge_commit_title" }, { - "type": "string", "name": "ssh_url" }, { - "type": "integer", "name": "stargazers_count" }, { - "type": "string", "name": "stargazers_url" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "subscribers_url" }, { - "type": "string", "name": "subscription_url" }, { - "type": "string", "name": "svn_url" }, { - "type": "string", "name": "tags_url" }, { - "type": "string", "name": "teams_url" }, { - "type": "array of strings", "name": "topics" }, { - "type": "string", "name": "trees_url" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "boolean", "name": "use_squash_pr_title_as_default" }, { - "type": "string", "name": "visibility" }, { - "type": "integer", "name": "watchers" }, { - "type": "integer", "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required" } ] }, { - "type": "string", "name": "sha" }, { - "type": "object", "name": "user", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] @@ -67514,195 +23200,141 @@ ] }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "issue_url" }, { - "type": "array of objects", "name": "labels" }, { - "type": "boolean", "name": "locked" }, { - "type": "boolean", "name": "maintainer_can_modify" }, { - "type": "string or null", "name": "merge_commit_sha" }, { - "type": "boolean or null", "name": "mergeable" }, { - "type": "string", "name": "mergeable_state" }, { - "type": "boolean", - "name": "merged", - "isRequired": true + "name": "merged" }, { - "type": "string or null", - "name": "merged_at", - "isRequired": true + "name": "merged_at" }, { - "type": "object or null", - "name": "merged_by", - "isRequired": true + "name": "merged_by" }, { - "type": "object or null", "name": "milestone" }, { - "type": "string", "name": "node_id" }, { - "type": "integer", "name": "number" }, { - "type": "string", "name": "patch_url" }, { - "type": "boolean or null", "name": "rebaseable" }, { - "type": "array of objects", "name": "requested_reviewers" }, { - "type": "array of objects", "name": "requested_teams" }, { - "type": "string", "name": "review_comment_url" }, { - "type": "integer", "name": "review_comments" }, { - "type": "string", "name": "review_comments_url" }, { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "name": "state" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "title" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "object", "name": "user", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] @@ -67712,28651 +23344,167 @@ 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "reopened", - "category": "pull_request" + "action": "reopened" }, "review_request_removed": { - "description": "A request for review by a person or team was removed from a pull request.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "review_request_removed" - ] - }, + 0, 1, 2, - 83, + 34, 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "integer", - "name": "additions" - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "integer", - "name": "changed_files" - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "integer", - "name": "commits" - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "integer", - "name": "deletions" - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request." - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable" - }, - { - "type": "string", - "name": "mergeable_state" - }, - { - "type": "boolean or null", - "name": "merged" - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable" - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "integer", - "name": "review_comments" - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "description": "The title of the pull request.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 35, 4, - { - "type": "object or null", - "name": "requested_reviewer", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, + 40, 6, - { - "type": "object", - "name": "requested_team", - "in": "body", - "description": "Groups of organization members that gives permissions on specified repositories.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - } + 41 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "review_request_removed", - "category": "pull_request" + "action": "review_request_removed" }, "review_requested": { - "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).\"", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "review_requested" - ] - }, + 0, 1, 2, - 83, + 34, 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "integer", - "name": "additions" - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "integer", - "name": "changed_files" - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "integer", - "name": "commits" - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "integer", - "name": "deletions" - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request." - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable" - }, - { - "type": "string", - "name": "mergeable_state" - }, - { - "type": "boolean or null", - "name": "merged" - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable" - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "integer", - "name": "review_comments" - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "description": "The title of the pull request.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 35, 4, - { - "type": "object or null", - "name": "requested_reviewer", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, + 40, 6, - { - "type": "object", - "name": "requested_team", - "in": "body", - "description": "Groups of organization members that gives permissions on specified repositories.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - } + 41 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "review_requested", - "category": "pull_request" + "action": "review_requested" }, "synchronize": { - "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.", - "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.", "bodyParameters": [ + 0, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "synchronize" - ] + "name": "after" }, { - "type": "string", - "name": "after", - "in": "body", - "isRequired": true - }, - { - "type": "string", - "name": "before", - "in": "body", - "isRequired": true + "name": "before" }, 1, 2, - 83, + 34, 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "integer", - "name": "additions" - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "integer", - "name": "changed_files" - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "integer", - "name": "commits" - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "integer", - "name": "deletions" - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merge_commit_message", - "description": "The default value for a merge commit message.", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ] - }, - { - "type": "string", - "name": "merge_commit_title", - "description": "The default value for a merge commit message title.", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ] - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request." - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable" - }, - { - "type": "string", - "name": "mergeable_state" - }, - { - "type": "boolean or null", - "name": "merged" - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable" - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "integer", - "name": "review_comments" - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "description": "The title of the pull request.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 42, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "synchronize", - "category": "pull_request" + "action": "synchronize" }, "unassigned": { - "description": "A user was unassigned from a pull request.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "unassigned" - ] - }, - 56, + 0, + 22, 1, 2, - 83, + 34, 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "integer", - "name": "additions" - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "integer", - "name": "changed_files" - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "integer", - "name": "commits" - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "integer", - "name": "deletions" - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request." - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable" - }, - { - "type": "string", - "name": "mergeable_state" - }, - { - "type": "boolean or null", - "name": "merged" - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable" - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "integer", - "name": "review_comments" - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "description": "The title of the pull request.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 35, 4, - 30 + 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "unassigned", - "category": "pull_request" + "action": "unassigned" }, "unlabeled": { - "description": "A label was removed from a pull request.", - "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.", "bodyParameters": [ - 31, + 0, 1, 2, - 52, - 83, + 16, + 34, 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "integer", - "name": "additions" - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "integer", - "name": "changed_files" - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "integer", - "name": "commits" - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "integer", - "name": "deletions" - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merge_commit_message", - "description": "The default value for a merge commit message.", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ] - }, - { - "type": "string", - "name": "merge_commit_title", - "description": "The default value for a merge commit message title.", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ] - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request." - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable" - }, - { - "type": "string", - "name": "mergeable_state" - }, - { - "type": "boolean or null", - "name": "merged" - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable" - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "integer", - "name": "review_comments" - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "description": "The title of the pull request.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 42, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "unlabeled", - "category": "pull_request" + "action": "unlabeled" }, "unlocked": { - "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).\"", - "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.", "bodyParameters": [ - 32, + 0, 1, 2, - 83, + 34, 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "integer", - "name": "additions" - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "integer", - "name": "changed_files" - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "comments" - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "integer", - "name": "commits" - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "integer", - "name": "deletions" - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request." - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable" - }, - { - "type": "string", - "name": "mergeable_state" - }, - { - "type": "boolean or null", - "name": "merged" - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable" - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "integer", - "name": "review_comments" - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either `open` or `closed`.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "description": "The title of the pull request.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 35, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "unlocked", - "category": "pull_request" + "action": "unlocked" } }, "pull_request_review_comment": { "created": { - "description": "A comment on a pull request diff was created.", - "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.", "bodyParameters": [ 0, - { - "type": "object", - "name": "comment", - "in": "body", - "description": "The [comment](https://docs.github.com/rest/reference/pulls#comments) itself.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string", - "name": "body", - "description": "The text of the comment.", - "isRequired": true - }, - { - "type": "string", - "name": "commit_id", - "description": "The SHA of the commit to which the comment applies.", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "diff_hunk", - "description": "The diff of the line that the comment refers to.", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "HTML URL for the pull request review comment.", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "The ID of the pull request review comment.", - "isRequired": true - }, - { - "type": "integer", - "name": "in_reply_to_id", - "description": "The comment ID to reply to." - }, - { - "type": "integer or null", - "name": "line", - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "The node ID of the pull request review comment.", - "isRequired": true - }, - { - "type": "string", - "name": "original_commit_id", - "description": "The SHA of the original commit to which the comment applies.", - "isRequired": true - }, - { - "type": "integer or null", - "name": "original_line", - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "isRequired": true - }, - { - "type": "integer", - "name": "original_position", - "description": "The index of the original line in the diff to which the comment applies.", - "isRequired": true - }, - { - "type": "integer or null", - "name": "original_start_line", - "description": "The first line of the range for a multi-line comment.", - "isRequired": true - }, - { - "type": "string", - "name": "path", - "description": "The relative path of the file to which the comment applies.", - "isRequired": true - }, - { - "type": "integer or null", - "name": "position", - "description": "The line index in the diff to which the comment applies.", - "isRequired": true - }, - { - "type": "integer or null", - "name": "pull_request_review_id", - "description": "The ID of the pull request review to which the comment belongs.", - "isRequired": true - }, - { - "type": "string", - "name": "pull_request_url", - "description": "URL for the pull request that the review comment belongs to.", - "isRequired": true - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "side", - "description": "The side of the first line of the range for a multi-line comment.", - "isRequired": true, - "enum": [ - "LEFT", - "RIGHT" - ] - }, - { - "type": "integer or null", - "name": "start_line", - "description": "The first line of the range for a multi-line comment.", - "isRequired": true - }, - { - "type": "string or null", - "name": "start_side", - "description": "The side of the first line of the range for a multi-line comment.", - "isRequired": true, - "enum": [ - "LEFT", - "RIGHT", - null - ], - "default": "RIGHT" - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the pull request review comment", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 43, 1, 2, 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 44, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "pull_request_review_comment" + "action": "created" }, "deleted": { - "description": "A comment on a pull request diff was deleted.", - "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.", "bodyParameters": [ - 7, - 90, + 0, + 43, 1, 2, 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 44, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "deleted", - "category": "pull_request_review_comment" + "action": "deleted" }, "edited": { - "description": "The content of a comment on a pull request diff was changed.", - "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.", "bodyParameters": [ - 8, - 48, - 90, + 0, + 20, + 43, 1, 2, 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 44, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "pull_request_review_comment" + "action": "edited" } }, "pull_request_review": { "dismissed": { - "description": "A review on a pull request was dismissed.", - "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.", "bodyParameters": [ - 21, + 0, 1, 2, 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 44, 4, - { - "type": "object", - "name": "review", - "in": "body", - "description": "The review that was affected.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string or null", - "name": "body", - "description": "The text of the review.", - "isRequired": true - }, - { - "type": "string", - "name": "commit_id", - "description": "A commit SHA for the review.", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the review", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "pull_request_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "dismissed", - "approved", - "changes_requested" - ] - }, - { - "type": "string", - "name": "submitted_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 45, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "dismissed", - "category": "pull_request_review" + "action": "dismissed" }, "edited": { - "description": "The body comment on a pull request review was edited.", - "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.", "bodyParameters": [ - 8, + 0, { - "type": "object", "name": "changes", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "body", "childParamsGroups": [ { - "type": "string", "name": "from", - "description": "The previous version of the body if the action was `edited`.", - "isRequired": true + "description": "The previous version of the body if the action was `edited`." } ] } @@ -96366,1199 +23514,772 @@ 2, 3, { - "type": "object", "name": "pull_request", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "_links", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "comments", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "commits", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "html", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "issue", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "review_comment", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "review_comments", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "self", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] }, { - "type": "object", "name": "statuses", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "href", - "isRequired": true + "name": "href" } ] } ] }, { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] + "name": "active_lock_reason" }, { - "type": "object or null", "name": "assignee", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "array of objects", "name": "assignees", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] + "description": "How the author is associated with the repository." }, { - "type": "object or null", "name": "auto_merge", "description": "The status of auto merging a pull request.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true + "description": "Commit message for the merge commit." }, { - "type": "string or null", "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true + "description": "Title for the merge commit message." }, { - "type": "object or null", "name": "enabled_by", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] + "description": "The merge method to use." } ] }, { - "type": "object", "name": "base", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "label", - "isRequired": true + "name": "label" }, { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object", "name": "repo", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -97566,770 +24287,492 @@ ] }, { - "type": "string or null", - "name": "body", - "isRequired": true + "name": "body" }, { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string", - "name": "diff_url", - "isRequired": true + "name": "diff_url" }, { - "type": "boolean", - "name": "draft", - "isRequired": true + "name": "draft" }, { - "type": "object", "name": "head", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "label", - "isRequired": true + "name": "label" }, { - "type": "string", - "name": "ref", - "isRequired": true + "name": "ref" }, { - "type": "object or null", "name": "repo", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -98337,561 +24780,360 @@ ] }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "issue_url", - "isRequired": true + "name": "issue_url" }, { - "type": "array of objects", "name": "labels", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true + "description": "6-character hex code, without the leading #, identifying the color" }, { - "type": "boolean", - "name": "default", - "isRequired": true + "name": "default" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", "name": "name", - "description": "The name of the label.", - "isRequired": true + "description": "The name of the label." }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "url", - "description": "URL for the label", - "isRequired": true + "description": "URL for the label" } ] }, { - "type": "boolean", - "name": "locked", - "isRequired": true + "name": "locked" }, { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true + "name": "merge_commit_sha" }, { - "type": "string or null", - "name": "merged_at", - "isRequired": true + "name": "merged_at" }, { - "type": "object or null", "name": "milestone", "description": "A collection of related issues and pull requests.", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "closed_at", - "isRequired": true + "name": "closed_at" }, { - "type": "integer", - "name": "closed_issues", - "isRequired": true + "name": "closed_issues" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "object or null", "name": "creator", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string or null", - "name": "due_on", - "isRequired": true + "name": "due_on" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", "name": "number", - "description": "The number of the milestone.", - "isRequired": true + "description": "The number of the milestone." }, { - "type": "integer", - "name": "open_issues", - "isRequired": true + "name": "open_issues" }, { - "type": "string", "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "description": "The state of the milestone." }, { - "type": "string", "name": "title", - "description": "The title of the milestone.", - "isRequired": true + "description": "The title of the milestone." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", - "name": "number", - "isRequired": true + "name": "number" }, { - "type": "string", - "name": "patch_url", - "isRequired": true + "name": "patch_url" }, { - "type": "array", - "name": "requested_reviewers", - "isRequired": true + "name": "requested_reviewers" }, { - "type": "array of objects", "name": "requested_teams", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "description", "description": "Description of the team" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the team", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", "name": "members_url" }, { - "type": "string", "name": "name", - "description": "Name of the team", - "isRequired": true + "description": "Name of the team" }, { - "type": "string", "name": "node_id" }, { - "type": "object or null", "name": "parent", "childParamsGroups": [ { - "type": "string or null", "name": "description", - "description": "Description of the team", - "isRequired": true + "description": "Description of the team" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the team", - "isRequired": true + "description": "Unique identifier of the team" }, { - "type": "string", - "name": "members_url", - "isRequired": true + "name": "members_url" }, { - "type": "string", "name": "name", - "description": "Name of the team", - "isRequired": true + "description": "Name of the team" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true + "description": "Permission that the team will have for its repositories" }, { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] + "name": "privacy" }, { - "type": "string", - "name": "repositories_url", - "isRequired": true + "name": "repositories_url" }, { - "type": "string", - "name": "slug", - "isRequired": true + "name": "slug" }, { - "type": "string", "name": "url", - "description": "URL for the team", - "isRequired": true + "description": "URL for the team" } ] }, { - "type": "string", "name": "permission", "description": "Permission that the team will have for its repositories" }, { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] + "name": "privacy" }, { - "type": "string", "name": "repositories_url" }, { - "type": "string", "name": "slug" }, { - "type": "string", "name": "url", "description": "URL for the team" } ] }, { - "type": "string", - "name": "review_comment_url", - "isRequired": true + "name": "review_comment_url" }, { - "type": "string", - "name": "review_comments_url", - "isRequired": true + "name": "review_comments_url" }, { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "closed" - ] + "name": "state" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "title", - "isRequired": true + "name": "title" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "object or null", "name": "user", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] @@ -98899,9829 +25141,845 @@ ] }, 4, - 91, + 45, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "pull_request_review" + "action": "edited" }, "submitted": { - "description": "A review on a pull request was submitted.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "submitted" - ] - }, + 0, 1, 2, 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "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", - "name": "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": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 44, 4, - 91, + 45, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "submitted", - "category": "pull_request_review" + "action": "submitted" } }, "pull_request_review_thread": { "resolved": { - "description": "A comment thread on a pull request was marked as resolved.", - "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.", "bodyParameters": [ - 92, + 0, 1, 2, 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 46, 4, - 30, - { - "type": "object", - "name": "thread", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "array of objects", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string", - "name": "body", - "description": "The text of the comment.", - "isRequired": true - }, - { - "type": "string", - "name": "commit_id", - "description": "The SHA of the commit to which the comment applies.", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "diff_hunk", - "description": "The diff of the line that the comment refers to.", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "HTML URL for the pull request review comment.", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "The ID of the pull request review comment.", - "isRequired": true - }, - { - "type": "integer", - "name": "in_reply_to_id", - "description": "The comment ID to reply to." - }, - { - "type": "integer or null", - "name": "line", - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "The node ID of the pull request review comment.", - "isRequired": true - }, - { - "type": "string", - "name": "original_commit_id", - "description": "The SHA of the original commit to which the comment applies.", - "isRequired": true - }, - { - "type": "integer or null", - "name": "original_line", - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "isRequired": true - }, - { - "type": "integer", - "name": "original_position", - "description": "The index of the original line in the diff to which the comment applies.", - "isRequired": true - }, - { - "type": "integer or null", - "name": "original_start_line", - "description": "The first line of the range for a multi-line comment.", - "isRequired": true - }, - { - "type": "string", - "name": "path", - "description": "The relative path of the file to which the comment applies.", - "isRequired": true - }, - { - "type": "integer or null", - "name": "position", - "description": "The line index in the diff to which the comment applies.", - "isRequired": true - }, - { - "type": "integer or null", - "name": "pull_request_review_id", - "description": "The ID of the pull request review to which the comment belongs.", - "isRequired": true - }, - { - "type": "string", - "name": "pull_request_url", - "description": "URL for the pull request that the review comment belongs to.", - "isRequired": true - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "side", - "description": "The side of the first line of the range for a multi-line comment.", - "isRequired": true, - "enum": [ - "LEFT", - "RIGHT" - ] - }, - { - "type": "integer or null", - "name": "start_line", - "description": "The first line of the range for a multi-line comment.", - "isRequired": true - }, - { - "type": "string or null", - "name": "start_side", - "description": "The side of the first line of the range for a multi-line comment.", - "isRequired": true, - "enum": [ - "LEFT", - "RIGHT", - null - ], - "default": "RIGHT" - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the pull request review comment", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - } - ] - } + 6, + 47 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "resolved", - "category": "pull_request_review_thread" + "action": "resolved" }, "unresolved": { - "description": "A previously resolved comment thread on a pull request was marked as unresolved.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "unresolved" - ] - }, + 0, 1, 2, 3, - { - "type": "object", - "name": "pull_request", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "object or null", - "name": "assignee", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "array of objects", - "name": "assignees", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.", - "isRequired": true - }, - { - "type": "string", - "name": "commit_title", - "description": "Title for the merge commit message.", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "diff_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled." - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "boolean", - "name": "public" - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "integer or string or null", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name" - }, - { - "type": "integer", - "name": "size", - "isRequired": true - }, - { - "type": "string", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers" - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "array of strings", - "name": "topics", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits" - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "isRequired": true - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "isRequired": true - }, - { - "type": "string or null", - "name": "merged_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "isRequired": true - }, - { - "type": "array", - "name": "requested_reviewers", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "object or null", - "name": "parent", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories" - }, - { - "type": "string", - "name": "privacy", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url" - }, - { - "type": "string", - "name": "slug" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "review_comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "title", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, + 46, 4, - 30, - { - "type": "object", - "name": "thread", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "array of objects", - "name": "comments", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "html", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "pull_request", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "string", - "name": "body", - "description": "The text of the comment.", - "isRequired": true - }, - { - "type": "string", - "name": "commit_id", - "description": "The SHA of the commit to which the comment applies.", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "diff_hunk", - "description": "The diff of the line that the comment refers to.", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "HTML URL for the pull request review comment.", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "The ID of the pull request review comment.", - "isRequired": true - }, - { - "type": "integer", - "name": "in_reply_to_id", - "description": "The comment ID to reply to." - }, - { - "type": "integer or null", - "name": "line", - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "The node ID of the pull request review comment.", - "isRequired": true - }, - { - "type": "string", - "name": "original_commit_id", - "description": "The SHA of the original commit to which the comment applies.", - "isRequired": true - }, - { - "type": "integer", - "name": "original_line", - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "isRequired": true - }, - { - "type": "integer", - "name": "original_position", - "description": "The index of the original line in the diff to which the comment applies.", - "isRequired": true - }, - { - "type": "integer or null", - "name": "original_start_line", - "description": "The first line of the range for a multi-line comment.", - "isRequired": true - }, - { - "type": "string", - "name": "path", - "description": "The relative path of the file to which the comment applies.", - "isRequired": true - }, - { - "type": "integer or null", - "name": "position", - "description": "The line index in the diff to which the comment applies.", - "isRequired": true - }, - { - "type": "integer or null", - "name": "pull_request_review_id", - "description": "The ID of the pull request review to which the comment belongs.", - "isRequired": true - }, - { - "type": "string", - "name": "pull_request_url", - "description": "URL for the pull request that the review comment belongs to.", - "isRequired": true - }, - { - "type": "object", - "name": "reactions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "side", - "description": "The side of the first line of the range for a multi-line comment.", - "isRequired": true, - "enum": [ - "LEFT", - "RIGHT" - ] - }, - { - "type": "integer or null", - "name": "start_line", - "description": "The first line of the range for a multi-line comment.", - "isRequired": true - }, - { - "type": "string or null", - "name": "start_side", - "description": "The side of the first line of the range for a multi-line comment.", - "isRequired": true, - "enum": [ - "LEFT", - "RIGHT", - null - ], - "default": "RIGHT" - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the pull request review comment", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - } - ] - } + 6, + 47 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "unresolved", - "category": "pull_request_review_thread" + "action": "unresolved" } }, "push": { "default": { - "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.", "bodyParameters": [ { - "type": "string", "name": "after", - "in": "body", - "description": "The SHA of the most recent commit on `ref` after the push.", - "isRequired": true + "description": "The SHA of the most recent commit on `ref` after the push." }, { - "type": "string or null", - "name": "base_ref", - "in": "body", - "isRequired": true + "name": "base_ref" }, { - "type": "string", "name": "before", - "in": "body", - "description": "The SHA of the most recent commit on `ref` before the push.", - "isRequired": true + "description": "The SHA of the most recent commit on `ref` before the push." }, { - "type": "array of objects", "name": "commits", - "in": "body", "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.", - "isRequired": true, "childParamsGroups": [ { - "type": "array of strings", "name": "added", "description": "An array of files added in the commit." }, { - "type": "object", "name": "author", "description": "Metaproperties for Git author/committer information.", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "date" }, { - "type": "string or null", - "name": "email", - "isRequired": true + "name": "email" }, { - "type": "string", "name": "name", - "description": "The git author's name.", - "isRequired": true + "description": "The git author's name." }, { - "type": "string", "name": "username" } ] }, { - "type": "object", "name": "committer", "description": "Metaproperties for Git author/committer information.", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "date" }, { - "type": "string or null", - "name": "email", - "isRequired": true + "name": "email" }, { - "type": "string", "name": "name", - "description": "The git author's name.", - "isRequired": true + "description": "The git author's name." }, { - "type": "string", "name": "username" } ] }, { - "type": "boolean", "name": "distinct", - "description": "Whether this commit is distinct from any that have been pushed before.", - "isRequired": true + "description": "Whether this commit is distinct from any that have been pushed before." }, { - "type": "string", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", "name": "message", - "description": "The commit message.", - "isRequired": true + "description": "The commit message." }, { - "type": "array of strings", "name": "modified", "description": "An array of files modified by the commit." }, { - "type": "array of strings", "name": "removed", "description": "An array of files removed in the commit." }, { - "type": "string", "name": "timestamp", - "description": "The ISO 8601 timestamp of the commit.", - "isRequired": true + "description": "The ISO 8601 timestamp of the commit." }, { - "type": "string", - "name": "tree_id", - "isRequired": true + "name": "tree_id" }, { - "type": "string", "name": "url", - "description": "URL that points to the commit API resource.", - "isRequired": true + "description": "URL that points to the commit API resource." } ] }, { - "type": "string", "name": "compare", - "in": "body", - "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.", - "isRequired": true + "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": "boolean", "name": "created", - "in": "body", - "description": "Whether this push created the `ref`.", - "isRequired": true + "description": "Whether this push created the `ref`." }, { - "type": "boolean", "name": "deleted", - "in": "body", - "description": "Whether this push deleted the `ref`.", - "isRequired": true + "description": "Whether this push deleted the `ref`." }, 1, { - "type": "boolean", "name": "forced", - "in": "body", - "description": "Whether this push was a force push of the `ref`.", - "isRequired": true + "description": "Whether this push was a force push of the `ref`." }, { - "type": "object or null", "name": "head_commit", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "array of strings", "name": "added", "description": "An array of files added in the commit." }, { - "type": "object", "name": "author", "description": "Metaproperties for Git author/committer information.", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "date" }, { - "type": "string or null", - "name": "email", - "isRequired": true + "name": "email" }, { - "type": "string", "name": "name", - "description": "The git author's name.", - "isRequired": true + "description": "The git author's name." }, { - "type": "string", "name": "username" } ] }, { - "type": "object", "name": "committer", "description": "Metaproperties for Git author/committer information.", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "date" }, { - "type": "string or null", - "name": "email", - "isRequired": true + "name": "email" }, { - "type": "string", "name": "name", - "description": "The git author's name.", - "isRequired": true + "description": "The git author's name." }, { - "type": "string", "name": "username" } ] }, { - "type": "boolean", "name": "distinct", - "description": "Whether this commit is distinct from any that have been pushed before.", - "isRequired": true + "description": "Whether this commit is distinct from any that have been pushed before." }, { - "type": "string", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", "name": "message", - "description": "The commit message.", - "isRequired": true + "description": "The commit message." }, { - "type": "array of strings", "name": "modified", "description": "An array of files modified by the commit." }, { - "type": "array of strings", "name": "removed", "description": "An array of files removed in the commit." }, { - "type": "string", "name": "timestamp", - "description": "The ISO 8601 timestamp of the commit.", - "isRequired": true + "description": "The ISO 8601 timestamp of the commit." }, { - "type": "string", - "name": "tree_id", - "isRequired": true + "name": "tree_id" }, { - "type": "string", "name": "url", - "description": "URL that points to the commit API resource.", - "isRequired": true + "description": "URL that points to the commit API resource." } ] }, 2, 3, { - "type": "object", "name": "pusher", - "in": "body", "description": "Metaproperties for Git author/committer information.", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "date" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "name", - "description": "The git author's name.", - "isRequired": true + "description": "The git author's name." }, { - "type": "string", "name": "username" } ] }, { - "type": "string", "name": "ref", - "in": "body", - "description": "The full git ref that was pushed. Example: `refs/heads/main` or `refs/tags/v3.14.1`.", - "isRequired": true + "description": "The full git ref that was pushed. Example: `refs/heads/main` or `refs/tags/v3.14.1`." }, { - "type": "object", "name": "repository", - "in": "body", "description": "A git repository", - "isRequired": true, "childParamsGroups": [ { - "type": "boolean", "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.", - "default": false + "description": "Whether to allow auto-merge for pull requests." }, { - "type": "boolean", "name": "allow_forking", "description": "Whether to allow private forks" }, { - "type": "boolean", "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true + "description": "Whether to allow merge commits for pull requests." }, { - "type": "boolean", "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true + "description": "Whether to allow rebase merges for pull requests." }, { - "type": "boolean", "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true + "description": "Whether to allow squash merges for pull requests." }, { - "type": "boolean", "name": "allow_update_branch" }, { - "type": "string", - "name": "archive_url", - "isRequired": true + "name": "archive_url" }, { - "type": "boolean", "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false + "description": "Whether the repository is archived." }, { - "type": "string", - "name": "assignees_url", - "isRequired": true + "name": "assignees_url" }, { - "type": "string", - "name": "blobs_url", - "isRequired": true + "name": "blobs_url" }, { - "type": "string", - "name": "branches_url", - "isRequired": true + "name": "branches_url" }, { - "type": "string", - "name": "clone_url", - "isRequired": true + "name": "clone_url" }, { - "type": "string", - "name": "collaborators_url", - "isRequired": true + "name": "collaborators_url" }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "comments_url" }, { - "type": "string", - "name": "commits_url", - "isRequired": true + "name": "commits_url" }, { - "type": "string", - "name": "compare_url", - "isRequired": true + "name": "compare_url" }, { - "type": "string", - "name": "contents_url", - "isRequired": true + "name": "contents_url" }, { - "type": "string", - "name": "contributors_url", - "isRequired": true + "name": "contributors_url" }, { - "type": "integer or string", "name": "created_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true + "description": "The default branch of the repository." }, { - "type": "boolean", "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false + "description": "Whether to delete head branches when pull requests are merged" }, { - "type": "string", - "name": "deployments_url", - "isRequired": true + "name": "deployments_url" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "boolean", "name": "disabled", "description": "Returns whether or not this repository is disabled." }, { - "type": "string", - "name": "downloads_url", - "isRequired": true + "name": "downloads_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "boolean", - "name": "fork", - "isRequired": true + "name": "fork" }, { - "type": "integer", - "name": "forks", - "isRequired": true + "name": "forks" }, { - "type": "integer", - "name": "forks_count", - "isRequired": true + "name": "forks_count" }, { - "type": "string", - "name": "forks_url", - "isRequired": true + "name": "forks_url" }, { - "type": "string", - "name": "full_name", - "isRequired": true + "name": "full_name" }, { - "type": "string", - "name": "git_commits_url", - "isRequired": true + "name": "git_commits_url" }, { - "type": "string", - "name": "git_refs_url", - "isRequired": true + "name": "git_refs_url" }, { - "type": "string", - "name": "git_tags_url", - "isRequired": true + "name": "git_tags_url" }, { - "type": "string", - "name": "git_url", - "isRequired": true + "name": "git_url" }, { - "type": "boolean", "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true + "description": "Whether downloads are enabled." }, { - "type": "boolean", "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true + "description": "Whether issues are enabled." }, { - "type": "boolean", - "name": "has_pages", - "isRequired": true + "name": "has_pages" }, { - "type": "boolean", "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true + "description": "Whether projects are enabled." }, { - "type": "boolean", "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true + "description": "Whether the wiki is enabled." }, { - "type": "boolean", "name": "has_discussions", - "description": "Whether discussions are enabled.", - "isRequired": true, - "default": false + "description": "Whether discussions are enabled." }, { - "type": "string or null", - "name": "homepage", - "isRequired": true + "name": "homepage" }, { - "type": "string", - "name": "hooks_url", - "isRequired": true + "name": "hooks_url" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true + "description": "Unique identifier of the repository" }, { - "type": "boolean", "name": "is_template" }, { - "type": "string", - "name": "issue_comment_url", - "isRequired": true + "name": "issue_comment_url" }, { - "type": "string", - "name": "issue_events_url", - "isRequired": true + "name": "issue_events_url" }, { - "type": "string", - "name": "issues_url", - "isRequired": true + "name": "issues_url" }, { - "type": "string", - "name": "keys_url", - "isRequired": true + "name": "keys_url" }, { - "type": "string", - "name": "labels_url", - "isRequired": true + "name": "labels_url" }, { - "type": "string or null", - "name": "language", - "isRequired": true + "name": "language" }, { - "type": "string", - "name": "languages_url", - "isRequired": true + "name": "languages_url" }, { - "type": "object or null", "name": "license", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "key", - "isRequired": true + "name": "key" }, { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "string", - "name": "organization" - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", + "name": "spdx_id" + }, + { + "name": "url" + } + ] + }, + { + "name": "master_branch" + }, + { + "name": "merges_url" + }, + { + "name": "milestones_url" + }, + { + "name": "mirror_url" + }, + { + "name": "name", + "description": "The name of the repository." + }, + { + "name": "node_id" + }, + { + "name": "notifications_url" + }, + { + "name": "open_issues" + }, + { + "name": "open_issues_count" + }, + { + "name": "organization" + }, + { + "name": "owner", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" }, { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "object", "name": "permissions", "childParamsGroups": [ { - "type": "boolean", - "name": "admin", - "isRequired": true + "name": "admin" }, { - "type": "boolean", "name": "maintain" }, { - "type": "boolean", - "name": "pull", - "isRequired": true + "name": "pull" }, { - "type": "boolean", - "name": "push", - "isRequired": true + "name": "push" }, { - "type": "boolean", "name": "triage" } ] }, { - "type": "boolean", "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true + "description": "Whether the repository is private or public." }, { - "type": "boolean", "name": "public" }, { - "type": "string", - "name": "pulls_url", - "isRequired": true + "name": "pulls_url" }, { - "type": "integer or string or null", "name": "pushed_at", - "description": "", - "isRequired": true + "description": "" }, { - "type": "string", - "name": "releases_url", - "isRequired": true + "name": "releases_url" }, { - "type": "string or null", "name": "role_name" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", - "name": "ssh_url", - "isRequired": true + "name": "ssh_url" }, { - "type": "integer", "name": "stargazers" }, { - "type": "integer", - "name": "stargazers_count", - "isRequired": true + "name": "stargazers_count" }, { - "type": "string", - "name": "stargazers_url", - "isRequired": true + "name": "stargazers_url" }, { - "type": "string", - "name": "statuses_url", - "isRequired": true + "name": "statuses_url" }, { - "type": "string", - "name": "subscribers_url", - "isRequired": true + "name": "subscribers_url" }, { - "type": "string", - "name": "subscription_url", - "isRequired": true + "name": "subscription_url" }, { - "type": "string", - "name": "svn_url", - "isRequired": true + "name": "svn_url" }, { - "type": "string", - "name": "tags_url", - "isRequired": true + "name": "tags_url" }, { - "type": "string", - "name": "teams_url", - "isRequired": true + "name": "teams_url" }, { - "type": "array of strings", - "name": "topics", - "isRequired": true + "name": "topics" }, { - "type": "string", - "name": "trees_url", - "isRequired": true + "name": "trees_url" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "string", - "name": "visibility", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "name": "visibility" }, { - "type": "integer", - "name": "watchers", - "isRequired": true + "name": "watchers" }, { - "type": "integer", - "name": "watchers_count", - "isRequired": true + "name": "watchers_count" }, { - "type": "boolean", "name": "web_commit_signoff_required", "description": "Whether to require contributors to sign off on web-based commits" } ] }, - 30 + 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "default", - "category": "push" + "action": "default" } }, "registry_package": { "published": { - "description": "A package was published to a registry.", - "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.", "bodyParameters": [ - 72, + 0, 1, 2, 3, { - "type": "object", "name": "registry_package", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string or null", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "string", - "name": "ecosystem", - "isRequired": true + "name": "ecosystem" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" }, { - "type": "string", - "name": "namespace", - "isRequired": true + "name": "namespace" }, { - "type": "object", "name": "owner", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "package_type", - "isRequired": true + "name": "package_type" }, { - "type": "object or null", "name": "package_version", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "author", "childParamsGroups": [ { - "type": "string", - "name": "avatar_url", - "isRequired": true + "name": "avatar_url" }, { - "type": "string", - "name": "events_url", - "isRequired": true + "name": "events_url" }, { - "type": "string", - "name": "followers_url", - "isRequired": true + "name": "followers_url" }, { - "type": "string", - "name": "following_url", - "isRequired": true + "name": "following_url" }, { - "type": "string", - "name": "gists_url", - "isRequired": true + "name": "gists_url" }, { - "type": "string", - "name": "gravatar_id", - "isRequired": true + "name": "gravatar_id" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "string", - "name": "organizations_url", - "isRequired": true + "name": "organizations_url" }, { - "type": "string", - "name": "received_events_url", - "isRequired": true + "name": "received_events_url" }, { - "type": "string", - "name": "repos_url", - "isRequired": true + "name": "repos_url" }, { - "type": "boolean", - "name": "site_admin", - "isRequired": true + "name": "site_admin" }, { - "type": "string", - "name": "starred_url", - "isRequired": true + "name": "starred_url" }, { - "type": "string", - "name": "subscriptions_url", - "isRequired": true + "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "isRequired": true + "name": "type" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string or object", "name": "body", "description": "" }, { - "type": "string", "name": "body_html" }, { - "type": "object", "name": "container_metadata", "childParamsGroups": [ { - "type": "object or null", "name": "labels" }, { - "type": "object or null", "name": "manifest" }, { - "type": "object", "name": "tag", "childParamsGroups": [ { - "type": "string", "name": "digest" }, { - "type": "string", "name": "name" } ] @@ -108729,1157 +25987,774 @@ ] }, { - "type": "string", "name": "created_at" }, { - "type": "string", - "name": "description", - "isRequired": true + "name": "description" }, { - "type": "array", "name": "docker_metadata" }, { - "type": "boolean", "name": "draft" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "installation_command", - "isRequired": true + "name": "installation_command" }, { - "type": "string", "name": "manifest" }, { - "type": "array of objects", - "name": "metadata", - "isRequired": true + "name": "metadata" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" }, { - "type": "object or null", "name": "npm_metadata", "childParamsGroups": [ { - "type": "string", "name": "name" }, { - "type": "string", "name": "version" }, { - "type": "string", "name": "npm_user" }, { - "type": "string or object or null", "name": "author", "description": "" }, { - "type": "string or object or null", "name": "bugs", "description": "" }, { - "type": "object", "name": "dependencies" }, { - "type": "object", "name": "dev_dependencies" }, { - "type": "object", "name": "peer_dependencies" }, { - "type": "object", "name": "optional_dependencies" }, { - "type": "string", "name": "description" }, { - "type": "string or object or null", "name": "dist", "description": "" }, { - "type": "string", "name": "git_head" }, { - "type": "string", "name": "homepage" }, { - "type": "string", "name": "license" }, { - "type": "string", "name": "main" }, { - "type": "string or object or null", "name": "repository", "description": "" }, { - "type": "object", "name": "scripts" }, { - "type": "string", "name": "id" }, { - "type": "string", "name": "node_version" }, { - "type": "string", "name": "npm_version" }, { - "type": "boolean", "name": "has_shrinkwrap" }, { - "type": "array of strings", "name": "maintainers" }, { - "type": "array of strings", "name": "contributors" }, { - "type": "object", "name": "engines" }, { - "type": "array of strings", "name": "keywords" }, { - "type": "array of strings", "name": "files" }, { - "type": "object", "name": "bin" }, { - "type": "object", "name": "man" }, { - "type": "string or object or null", "name": "directories", "description": "" }, { - "type": "array of strings", "name": "os" }, { - "type": "array of strings", "name": "cpu" }, { - "type": "string", "name": "readme" }, { - "type": "string", "name": "installation_command" }, { - "type": "integer", "name": "release_id" }, { - "type": "string", "name": "commit_oid" }, { - "type": "boolean", "name": "published_via_actions" }, { - "type": "integer", "name": "deleted_by_id" } ] }, { - "type": "array of objects or null", "name": "nuget_metadata", "childParamsGroups": [ { - "type": "string or object or integer or null", "name": "id", "description": "" }, { - "type": "string", "name": "name" }, { - "type": "boolean or string or integer or object", "name": "value", "description": "" } ] }, { - "type": "array of objects", "name": "package_files", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "content_type", - "isRequired": true + "name": "content_type" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string", - "name": "download_url", - "isRequired": true + "name": "download_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string or null", - "name": "md5", - "isRequired": true + "name": "md5" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" }, { - "type": "string or null", - "name": "sha1", - "isRequired": true + "name": "sha1" }, { - "type": "string or null", - "name": "sha256", - "isRequired": true + "name": "sha256" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string or null", - "name": "state", - "isRequired": true + "name": "state" }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" } ] }, { - "type": "string", - "name": "package_url", - "isRequired": true + "name": "package_url" }, { - "type": "boolean", "name": "prerelease" }, { - "type": "object", "name": "release", "childParamsGroups": [ { - "type": "object", "name": "author", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "created_at" }, { - "type": "boolean", "name": "draft" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string or null", "name": "name" }, { - "type": "boolean", "name": "prerelease" }, { - "type": "string", "name": "published_at" }, { - "type": "string", "name": "tag_name" }, { - "type": "string", "name": "target_commitish" }, { - "type": "string", "name": "url" } ] }, { - "type": "array", "name": "rubygems_metadata" }, { - "type": "string", - "name": "summary", - "isRequired": true + "name": "summary" }, { - "type": "string", "name": "tag_name" }, { - "type": "string", "name": "target_commitish" }, { - "type": "string", "name": "target_oid" }, { - "type": "string", "name": "updated_at" }, { - "type": "string", - "name": "version", - "isRequired": true + "name": "version" } ] }, { - "type": "object or null", "name": "registry", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "about_url" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" }, { - "type": "string", "name": "vendor" } ] }, { - "type": "string or null", - "name": "updated_at", - "isRequired": true + "name": "updated_at" } ] }, - 36, + 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "published", - "category": "registry_package" + "action": "published" }, "default": { - "description": "A package that was previously published to a registry was updated.", - "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", - "bodyParameters": [ - 45, - 1, - 2, - 3, - { - "type": "object", - "name": "registry_package", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "null", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "ecosystem", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "namespace", - "isRequired": true - }, - { - "type": "object", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "package_type", - "isRequired": true - }, - { - "type": "object", - "name": "package_version", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "author", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "body", - "isRequired": true - }, - { - "type": "string", - "name": "body_html", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "array", - "name": "docker_metadata" - }, - { - "type": "boolean", - "name": "draft" - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "installation_command", - "isRequired": true - }, - { - "type": "string", - "name": "manifest" - }, - { - "type": "array", - "name": "metadata", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "array of objects", - "name": "package_files", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "content_type" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "download_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string or null", - "name": "md5" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string or null", - "name": "sha1" - }, - { - "type": "string", - "name": "sha256" - }, - { - "type": "integer", - "name": "size" - }, - { - "type": "string", - "name": "state" - }, - { - "type": "string", - "name": "updated_at" - } - ] - }, - { - "type": "string", - "name": "package_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "prerelease" - }, - { - "type": "object", - "name": "release", - "childParamsGroups": [ - { - "type": "object", - "name": "author", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "boolean", - "name": "prerelease", - "isRequired": true - }, - { - "type": "string", - "name": "published_at", - "isRequired": true - }, - { - "type": "string", - "name": "tag_name", - "isRequired": true - }, - { - "type": "string", - "name": "target_commitish", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "array", - "name": "rubygems_metadata" - }, - { - "type": "string", - "name": "summary", - "isRequired": true - }, - { - "type": "string", - "name": "tag_name" - }, - { - "type": "string", - "name": "target_commitish", - "isRequired": true - }, - { - "type": "string", - "name": "target_oid", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "version", - "isRequired": true - } - ] - }, - { - "type": "object or null", - "name": "registry", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - } - ] - }, - 36, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "default", - "category": "registry_package" - } - }, - "release": { - "created": { - "description": "A draft was saved, or a release or pre-release was published without previously being saved as a draft.", - "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.", "bodyParameters": [ 0, 1, 2, 3, - 93, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "release" - }, - "deleted": { - "description": "A release, pre-release, or draft release was deleted.", - "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.", - "bodyParameters": [ - 7, - 1, - 2, - 3, - 93, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "deleted", - "category": "release" - }, - "edited": { - "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).\"", - "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.", - "bodyParameters": [ - 8, { - "type": "object", - "name": "changes", - "in": "body", - "isRequired": true, + "name": "registry_package", "childParamsGroups": [ { - "type": "object", - "name": "body", + "name": "created_at" + }, + { + "name": "description" + }, + { + "name": "ecosystem" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "namespace" + }, + { + "name": "owner", "childParamsGroups": [ { - "type": "string", + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "package_type" + }, + { + "name": "package_version", + "childParamsGroups": [ + { + "name": "author", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "body" + }, + { + "name": "body_html" + }, + { + "name": "created_at" + }, + { + "name": "description" + }, + { + "name": "docker_metadata" + }, + { + "name": "draft" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "installation_command" + }, + { + "name": "manifest" + }, + { + "name": "metadata" + }, + { + "name": "name" + }, + { + "name": "package_files", + "childParamsGroups": [ + { + "name": "content_type" + }, + { + "name": "created_at" + }, + { + "name": "download_url" + }, + { + "name": "id" + }, + { + "name": "md5" + }, + { + "name": "name" + }, + { + "name": "sha1" + }, + { + "name": "sha256" + }, + { + "name": "size" + }, + { + "name": "state" + }, + { + "name": "updated_at" + } + ] + }, + { + "name": "package_url" + }, + { + "name": "prerelease" + }, + { + "name": "release", + "childParamsGroups": [ + { + "name": "author", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "created_at" + }, + { + "name": "draft" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "prerelease" + }, + { + "name": "published_at" + }, + { + "name": "tag_name" + }, + { + "name": "target_commitish" + }, + { + "name": "url" + } + ] + }, + { + "name": "rubygems_metadata" + }, + { + "name": "summary" + }, + { + "name": "tag_name" + }, + { + "name": "target_commitish" + }, + { + "name": "target_oid" + }, + { + "name": "updated_at" + }, + { + "name": "version" + } + ] + }, + { + "name": "registry" + }, + { + "name": "updated_at" + } + ] + }, + 4, + 6 + ], + "action": "default" + } + }, + "release": { + "created": { + "bodyParameters": [ + 0, + 1, + 2, + 3, + 48, + 4, + 6 + ], + "action": "created" + }, + "deleted": { + "bodyParameters": [ + 0, + 1, + 2, + 3, + 48, + 4, + 6 + ], + "action": "deleted" + }, + "edited": { + "bodyParameters": [ + 0, + { + "name": "changes", + "childParamsGroups": [ + { + "name": "body", + "childParamsGroups": [ + { "name": "from", - "description": "The previous version of the body if the action was `edited`.", - "isRequired": true + "description": "The previous version of the body if the action was `edited`." } ] }, { - "type": "object", "name": "name", "childParamsGroups": [ { - "type": "string", "name": "from", - "description": "The previous version of the name if the action was `edited`.", - "isRequired": true + "description": "The previous version of the name if the action was `edited`." } ] } @@ -109888,1200 +26763,467 @@ 1, 2, 3, - 93, + 48, 4, - 30 + 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "release" + "action": "edited" }, "prereleased": { - "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.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "prereleased" - ] - }, + 0, 1, 2, 3, { - "type": "object", "name": "release", - "in": "body", "description": "The [release](https://docs.github.com/rest/reference/repos/#get-a-release) object.", - "isRequired": true, "childParamsGroups": [ { - "type": "array of objects", "name": "assets", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "browser_download_url", - "isRequired": true + "name": "browser_download_url" }, { - "type": "string", - "name": "content_type", - "isRequired": true + "name": "content_type" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "integer", - "name": "download_count", - "isRequired": true + "name": "download_count" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string or null", - "name": "label", - "isRequired": true + "name": "label" }, { - "type": "string", "name": "name", - "description": "The file name of the asset.", - "isRequired": true + "description": "The file name of the asset." }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", - "name": "size", - "isRequired": true + "name": "size" }, { - "type": "string", "name": "state", - "description": "State of the release asset.", - "isRequired": true, - "enum": [ - "uploaded" - ] + "description": "State of the release asset." }, { - "type": "string", - "name": "updated_at", - "isRequired": true + "name": "updated_at" }, { - "type": "object or null", "name": "uploader", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "assets_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "author", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "string or null", - "name": "body", - "isRequired": true - }, - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "discussion_url" - }, - { - "type": "boolean", - "name": "draft", - "description": "Whether the release is a draft or published", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string or null", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "boolean", - "name": "prerelease", - "description": "Whether the release is identified as a prerelease or a full release.", - "isRequired": true - }, - { - "type": "string or null", - "name": "published_at", - "isRequired": true - }, - { - "type": "object", - "name": "reactions", - "childParamsGroups": [ - { - "type": "integer", - "name": "+1", - "isRequired": true - }, - { - "type": "integer", - "name": "-1", - "isRequired": true - }, - { - "type": "integer", - "name": "confused", - "isRequired": true - }, - { - "type": "integer", - "name": "eyes", - "isRequired": true - }, - { - "type": "integer", - "name": "heart", - "isRequired": true - }, - { - "type": "integer", - "name": "hooray", - "isRequired": true - }, - { - "type": "integer", - "name": "laugh", - "isRequired": true - }, - { - "type": "integer", - "name": "rocket", - "isRequired": true - }, - { - "type": "integer", - "name": "total_count", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "tag_name", - "description": "The name of the tag.", - "isRequired": true - }, - { - "type": "string or null", - "name": "tarball_url", - "isRequired": true - }, - { - "type": "string", - "name": "target_commitish", - "description": "Specifies the commitish value that determines where the Git tag is created from.", - "isRequired": true - }, - { - "type": "string", - "name": "upload_url", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string or null", - "name": "zipball_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "assets" - }, - { - "type": "string", "name": "assets_url" }, { - "type": "object", "name": "author", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", + "name": "deleted" + }, + { + "name": "email" + }, + { "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", + "name": "name" + }, + { "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string or null", "name": "body" }, { - "type": "string", "name": "created_at" }, { - "type": "boolean", - "name": "draft" + "name": "discussion_url" + }, + { + "name": "draft", + "description": "Whether the release is a draft or published" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string or null", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "boolean", "name": "prerelease", - "description": "Whether the release is identified as a prerelease or a full release.", - "isRequired": true, - "enum": [ - true - ] + "description": "Whether the release is identified as a prerelease or a full release." }, { - "type": "string or null", "name": "published_at" }, { - "type": "string", - "name": "tag_name" + "name": "reactions", + "childParamsGroups": [ + { + "name": "+1" + }, + { + "name": "-1" + }, + { + "name": "confused" + }, + { + "name": "eyes" + }, + { + "name": "heart" + }, + { + "name": "hooray" + }, + { + "name": "laugh" + }, + { + "name": "rocket" + }, + { + "name": "total_count" + }, + { + "name": "url" + } + ] + }, + { + "name": "tag_name", + "description": "The name of the tag." }, { - "type": "string or null", "name": "tarball_url" }, { - "type": "string", + "name": "target_commitish", + "description": "Specifies the commitish value that determines where the Git tag is created from." + }, + { + "name": "upload_url" + }, + { + "name": "url" + }, + { + "name": "zipball_url" + }, + { + "name": "assets" + }, + { + "name": "assets_url" + }, + { + "name": "author", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "body" + }, + { + "name": "created_at" + }, + { + "name": "draft" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "prerelease", + "description": "Whether the release is identified as a prerelease or a full release." + }, + { + "name": "published_at" + }, + { + "name": "tag_name" + }, + { + "name": "tarball_url" + }, + { "name": "target_commitish" }, { - "type": "string", "name": "upload_url" }, { - "type": "string", "name": "url" }, { - "type": "string or null", "name": "zipball_url" } ] }, 4, - 30 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "prereleased", - "category": "release" - }, - "published": { - "description": "A release, pre-release, or draft of a release was published.", - "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.", - "bodyParameters": [ - 72, - 1, - 2, - 3, - 94, - 4, - 30 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "published", - "category": "release" - }, - "released": { - "description": "A release was published, or a pre-release was changed to a release.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "released" - ] - }, - 1, - 2, - 3, - 93, - 4, - 30 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "released", - "category": "release" - }, - "unpublished": { - "description": "A release or pre-release was unpublished.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "unpublished" - ] - }, - 1, - 2, - 3, - 94, - 4, - 30 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "unpublished", - "category": "release" - } - }, - "repository": { - "archived": { - "description": "A repository was archived.", - "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.", - "bodyParameters": [ - 80, - 1, - 2, - 3, - 4, 6 ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "archived", - "category": "repository" + "action": "prereleased" }, - "created": { - "description": "A repository was created.", - "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.", + "published": { "bodyParameters": [ 0, 1, 2, 3, + 49, 4, 6 ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "created", - "category": "repository" + "action": "published" }, - "deleted": { - "description": "A repository was deleted. GitHub Apps and repository webhooks will not receive this event.", - "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.", + "released": { "bodyParameters": [ - 7, + 0, 1, 2, 3, + 48, 4, 6 ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "deleted", - "category": "repository" + "action": "released" }, - "edited": { - "description": "The topics, default branch, description, or homepage of a repository was changed.", - "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.", + "unpublished": { "bodyParameters": [ - 8, - { - "type": "object", - "name": "changes", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "default_branch", - "childParamsGroups": [ - { - "type": "string", - "name": "from", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "description", - "childParamsGroups": [ - { - "type": "string or null", - "name": "from", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "homepage", - "childParamsGroups": [ - { - "type": "string or null", - "name": "from", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "topics", - "childParamsGroups": [ - { - "type": "array of strings or null", - "name": "from" - } - ] - } - ] - }, + 0, 1, 2, 3, + 49, 4, 6 ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "edited", - "category": "repository" - }, - "privatized": { - "description": "The visibility of a repository was changed to `private`.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "privatized" - ] - }, - 1, - 2, - 3, - 4, - 6 - ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "privatized", - "category": "repository" - }, - "publicized": { - "description": "The visibility of a repository was changed to `public`.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "publicized" - ] - }, - 1, - 2, - 3, - 4, - 6 - ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "publicized", - "category": "repository" - }, - "renamed": { - "description": "The name of a repository was changed.", - "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.", - "bodyParameters": [ - 71, - { - "type": "object", - "name": "changes", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "name", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "from", - "isRequired": true - } - ] - } - ] - } - ] - }, - 1, - 2, - 3, - 4, - 6 - ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "renamed", - "category": "repository" - }, - "transferred": { - "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.", - "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.", - "bodyParameters": [ - 29, - { - "type": "object", - "name": "changes", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "from", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "organization", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "public_members_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "object or null", - "name": "user", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - } - ] - } - ] - } - ] - }, - 1, - 2, - 3, - 4, - 6 - ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "transferred", - "category": "repository" - }, - "unarchived": { - "description": "A previously archived repository was unarchived.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "unarchived" - ] - }, - 1, - 2, - 3, - 4, - 6 - ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "unarchived", - "category": "repository" + "action": "unpublished" } }, "repository_dispatch": { "default": { - "description": "The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body.", - "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.", "bodyParameters": [ - 45, + 0, { - "type": "string", - "name": "branch", - "in": "body", - "isRequired": true + "name": "branch" }, { - "type": "object or null", - "name": "client_payload", - "in": "body", - "isRequired": true + "name": "client_payload" }, 1, - 46, + 2, 3, 4, 6 ], - "availability": [ - "app" - ], - "action": "default", - "category": "repository_dispatch" + "action": "default" } }, "repository_import": { "default": { - "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).", "bodyParameters": [ 1, 2, @@ -111089,417 +27231,263 @@ 4, 6, { - "type": "string", - "name": "status", - "in": "body", - "isRequired": true, - "enum": [ - "success", - "cancelled", - "failure" - ] + "name": "status" } ], - "availability": [ - "repository", - "organization" - ], - "action": "default", - "category": "repository_import" + "action": "default" } }, "repository_vulnerability_alert": { "create": { - "description": "A repository vulnerability alert was created.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "create" - ] - }, - 95, + 0, + 50, 1, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization" - ], - "action": "create", - "category": "repository_vulnerability_alert" + "action": "create" }, "dismiss": { - "description": "A repository vulnerability alert was dismissed.", - "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.", "bodyParameters": [ + 0, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "dismiss" - ] - }, - { - "type": "object", "name": "alert", - "in": "body", "description": "The security alert of the vulnerable dependency.", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "affected_package_name", - "isRequired": true - }, - { - "type": "string", - "name": "affected_range", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "dismiss_comment" - }, - { - "type": "string", - "name": "dismiss_reason" - }, - { - "type": "string", - "name": "dismissed_at" - }, - { - "type": "object or null", - "name": "dismisser", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "external_identifier", - "isRequired": true - }, - { - "type": "string or null", - "name": "external_reference", - "isRequired": true - }, - { - "type": "string", - "name": "fix_reason" - }, - { - "type": "string", - "name": "fixed_at" - }, - { - "type": "string", - "name": "fixed_in" - }, - { - "type": "string", - "name": "ghsa_id", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "severity", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "dismissed", - "fixed" - ] - }, - { - "type": "string", "name": "affected_package_name" }, { - "type": "string", "name": "affected_range" }, { - "type": "string", "name": "created_at" }, { - "type": "string or null", "name": "dismiss_comment" }, { - "type": "string", - "name": "dismiss_reason", - "isRequired": true + "name": "dismiss_reason" }, { - "type": "string", - "name": "dismissed_at", - "isRequired": true + "name": "dismissed_at" }, { - "type": "object or null", "name": "dismisser", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "external_identifier" }, { - "type": "string or null", "name": "external_reference" }, { - "type": "string", + "name": "fix_reason" + }, + { + "name": "fixed_at" + }, + { "name": "fixed_in" }, { - "type": "string", "name": "ghsa_id" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "node_id" }, { - "type": "integer", "name": "number" }, { - "type": "string", "name": "severity" }, { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "dismissed" + "name": "state" + }, + { + "name": "affected_package_name" + }, + { + "name": "affected_range" + }, + { + "name": "created_at" + }, + { + "name": "dismiss_comment" + }, + { + "name": "dismiss_reason" + }, + { + "name": "dismissed_at" + }, + { + "name": "dismisser", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } ] + }, + { + "name": "external_identifier" + }, + { + "name": "external_reference" + }, + { + "name": "fixed_in" + }, + { + "name": "ghsa_id" + }, + { + "name": "id" + }, + { + "name": "node_id" + }, + { + "name": "number" + }, + { + "name": "severity" + }, + { + "name": "state" } ] }, @@ -111509,297 +27497,184 @@ 4, 6 ], - "availability": [ - "repository", - "organization" - ], - "action": "dismiss", - "category": "repository_vulnerability_alert" + "action": "dismiss" }, "reopen": { - "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "reopen" - ] - }, - 95, + 0, + 50, 1, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization" - ], - "action": "reopen", - "category": "repository_vulnerability_alert" + "action": "reopen" }, "resolve": { - "description": "A repository vulnerability alert was marked as resolved.", - "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.", "bodyParameters": [ + 0, { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "resolve" - ] - }, - { - "type": "object", "name": "alert", - "in": "body", "description": "The security alert of the vulnerable dependency.", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "affected_package_name", - "isRequired": true + "name": "affected_package_name" }, { - "type": "string", - "name": "affected_range", - "isRequired": true + "name": "affected_range" }, { - "type": "string", - "name": "created_at", - "isRequired": true + "name": "created_at" }, { - "type": "string", "name": "dismiss_reason" }, { - "type": "string", "name": "dismissed_at" }, { - "type": "object or null", "name": "dismisser", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "string", - "name": "login", - "isRequired": true + "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", - "name": "external_identifier", - "isRequired": true - }, - { - "type": "string or null", - "name": "external_reference", - "isRequired": true - }, - { - "type": "string", - "name": "fix_reason" - }, - { - "type": "string", - "name": "fixed_at" - }, - { - "type": "string", - "name": "fixed_in" - }, - { - "type": "string", - "name": "ghsa_id", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "severity", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "open", - "dismissed", - "fixed" - ] - }, - { - "type": "string", - "name": "affected_package_name" - }, - { - "type": "string", - "name": "affected_range" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", "name": "external_identifier" }, { - "type": "string or null", "name": "external_reference" }, { - "type": "string", "name": "fix_reason" }, { - "type": "string", "name": "fixed_at" }, { - "type": "string", "name": "fixed_in" }, { - "type": "string", "name": "ghsa_id" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "node_id" }, { - "type": "integer", "name": "number" }, { - "type": "string", "name": "severity" }, { - "type": "string", - "name": "state", - "isRequired": true, - "enum": [ - "fixed", - "open" - ] + "name": "state" + }, + { + "name": "affected_package_name" + }, + { + "name": "affected_range" + }, + { + "name": "created_at" + }, + { + "name": "external_identifier" + }, + { + "name": "external_reference" + }, + { + "name": "fix_reason" + }, + { + "name": "fixed_at" + }, + { + "name": "fixed_in" + }, + { + "name": "ghsa_id" + }, + { + "name": "id" + }, + { + "name": "node_id" + }, + { + "name": "number" + }, + { + "name": "severity" + }, + { + "name": "state" } ] }, @@ -111809,6427 +27684,371 @@ 4, 6 ], - "availability": [ - "repository", - "organization" - ], - "action": "resolve", - "category": "repository_vulnerability_alert" - } - }, - "secret_scanning_alert": { - "created": { - "description": "A secret scanning alert was created.", - "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.", - "bodyParameters": [ - 0, - 96, - 1, - 2, - 3, - 4, - 30 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "secret_scanning_alert" - }, - "reopened": { - "description": "A previously closed secret scanning alert was reopened.", - "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.", - "bodyParameters": [ - 17, - 96, - 1, - 2, - 3, - 4, - 30 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "reopened", - "category": "secret_scanning_alert" - }, - "resolved": { - "description": "A secret scanning alert was closed.", - "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.", - "bodyParameters": [ - 92, - { - "type": "object", - "name": "alert", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "created_at", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - { - "type": "string", - "name": "html_url", - "description": "The GitHub URL of the alert resource." - }, - { - "type": "string", - "name": "locations_url", - "description": "The REST API URL of the code locations for this alert." - }, - { - "type": "integer", - "name": "number", - "description": "The security alert number." - }, - { - "type": "boolean or null", - "name": "push_protection_bypassed", - "description": "Whether push protection was bypassed for the detected secret." - }, - { - "type": "string or null", - "name": "push_protection_bypassed_at", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - { - "type": "object or null", - "name": "push_protection_bypassed_by", - "description": "A GitHub user.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "string or null", - "name": "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" - ] - }, - { - "type": "string or null", - "name": "resolved_at", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - { - "type": "object or null", - "name": "resolved_by", - "description": "A GitHub user.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "string or null", - "name": "resolution_comment", - "description": "An optional comment to resolve an alert." - }, - { - "type": "string", - "name": "secret", - "description": "The secret that was detected." - }, - { - "type": "string", - "name": "secret_type", - "description": "The type of secret that secret scanning detected." - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "updated_at", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - { - "type": "string", - "name": "url", - "description": "The REST API URL of the alert resource." - } - ] - }, - 1, - 2, - 3, - 4, - 30 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "resolved", - "category": "secret_scanning_alert" - }, - "revoked": { - "description": "A secret scanning alert was marked as revoked.", - "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.", - "bodyParameters": [ - 35, - 96, - 1, - 2, - 3, - 4, - 30 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "revoked", - "category": "secret_scanning_alert" - } - }, - "secret_scanning_alert_location": { - "created": { - "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.", - "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.", - "bodyParameters": [ - 10, - 96, - 2, - { - "type": "object", - "name": "location", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "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.", - "isRequired": true, - "enum": [ - "commit", - "issue_title", - "issue_body", - "issue_comment" - ] - }, - { - "type": "object or object or object or object", - "name": "details", - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "isRequired": true - } - ] - }, - 3, - 4, - 6 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "secret_scanning_alert_location" - } - }, - "security_advisory": { - "published": { - "description": "A security advisory was published to the GitHub community.", - "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).\"", - "bodyParameters": [ - 72, - 1, - 2, - 3, - 36, - 97, - 30 - ], - "availability": [ - "app" - ], - "action": "published", - "category": "security_advisory" - }, - "updated": { - "description": "The metadata or description of a security advisory was changed, or the security advisory was withdrawn.", - "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).\"", - "bodyParameters": [ - 73, - 1, - 2, - 3, - 36, - 97, - 30 - ], - "availability": [ - "app" - ], - "action": "updated", - "category": "security_advisory" - }, - "withdrawn": { - "description": "A previously published security advisory was withdrawn.", - "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).\"", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "withdrawn" - ] - }, - 1, - 2, - 3, - 36, - { - "type": "object", - "name": "security_advisory", - "in": "body", - "description": "The details of the security advisory, including summary, description, and severity.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "cvss", - "isRequired": true, - "childParamsGroups": [ - { - "type": "number", - "name": "score", - "isRequired": true - }, - { - "type": "string or null", - "name": "vector_string", - "isRequired": true - } - ] - }, - { - "type": "array of objects", - "name": "cwes", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "cwe_id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "ghsa_id", - "isRequired": true - }, - { - "type": "array of objects", - "name": "identifiers", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "string", - "name": "value", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "published_at", - "isRequired": true - }, - { - "type": "array of objects", - "name": "references", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "severity", - "isRequired": true - }, - { - "type": "string", - "name": "summary", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "array of objects", - "name": "vulnerabilities", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object or null", - "name": "first_patched_version", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "identifier", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "package", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ecosystem", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "severity", - "isRequired": true - }, - { - "type": "string", - "name": "vulnerable_version_range", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "withdrawn_at", - "isRequired": true - } - ] - }, - 30 - ], - "availability": [ - "app" - ], - "action": "withdrawn", - "category": "security_advisory" - } - }, - "security_and_analysis": { - "default": { - "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.", - "bodyParameters": [ - { - "type": "object", - "name": "changes", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "from", - "childParamsGroups": [ - { - "type": "object or null", - "name": "security_and_analysis", - "childParamsGroups": [ - { - "type": "object", - "name": "advanced_security", - "childParamsGroups": [ - { - "type": "string", - "name": "status", - "enum": [ - "enabled", - "disabled" - ] - } - ] - }, - { - "type": "object", - "name": "secret_scanning", - "childParamsGroups": [ - { - "type": "string", - "name": "status", - "enum": [ - "enabled", - "disabled" - ] - } - ] - }, - { - "type": "object", - "name": "secret_scanning_push_protection", - "childParamsGroups": [ - { - "type": "string", - "name": "status", - "enum": [ - "enabled", - "disabled" - ] - } - ] - } - ] - } - ] - } - ] - }, - 1, - 2, - 3, - { - "type": "object", - "name": "repository", - "in": "body", - "description": "Full Repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "object", - "name": "owner", - "description": "A GitHub user.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "boolean", - "name": "private", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "integer", - "name": "size", - "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "array of strings", - "name": "topics" - }, - { - "type": "boolean", - "name": "has_issues", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_wiki", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_discussions", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository disabled.", - "isRequired": true - }, - { - "type": "string", - "name": "visibility", - "description": "The repository visibility: public, private, or internal." - }, - { - "type": "string", - "name": "pushed_at", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "allow_rebase_merge" - }, - { - "type": "object or null", - "name": "template_repository", - "description": "A repository on GitHub.", - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "License Simple", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - }, - { - "type": "string or null", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "html_url" - } - ] - }, - { - "type": "object or null", - "name": "organization", - "description": "A GitHub user.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - } - ] - }, - { - "type": "object", - "name": "owner", - "description": "A GitHub user.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "integer", - "name": "size", - "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false - }, - { - "type": "array of strings", - "name": "topics" - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "default": false - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository disabled.", - "isRequired": true - }, - { - "type": "string", - "name": "visibility", - "description": "The repository visibility: public, private, or internal.", - "default": "public" - }, - { - "type": "string or null", - "name": "pushed_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "object or null", - "name": "template_repository", - "childParamsGroups": [ - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "full_name" - }, - { - "type": "object", - "name": "owner", - "childParamsGroups": [ - { - "type": "string", - "name": "login" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "boolean", - "name": "site_admin" - } - ] - }, - { - "type": "boolean", - "name": "private" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string", - "name": "description" - }, - { - "type": "boolean", - "name": "fork" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "string", - "name": "archive_url" - }, - { - "type": "string", - "name": "assignees_url" - }, - { - "type": "string", - "name": "blobs_url" - }, - { - "type": "string", - "name": "branches_url" - }, - { - "type": "string", - "name": "collaborators_url" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "commits_url" - }, - { - "type": "string", - "name": "compare_url" - }, - { - "type": "string", - "name": "contents_url" - }, - { - "type": "string", - "name": "contributors_url" - }, - { - "type": "string", - "name": "deployments_url" - }, - { - "type": "string", - "name": "downloads_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "forks_url" - }, - { - "type": "string", - "name": "git_commits_url" - }, - { - "type": "string", - "name": "git_refs_url" - }, - { - "type": "string", - "name": "git_tags_url" - }, - { - "type": "string", - "name": "git_url" - }, - { - "type": "string", - "name": "issue_comment_url" - }, - { - "type": "string", - "name": "issue_events_url" - }, - { - "type": "string", - "name": "issues_url" - }, - { - "type": "string", - "name": "keys_url" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "string", - "name": "languages_url" - }, - { - "type": "string", - "name": "merges_url" - }, - { - "type": "string", - "name": "milestones_url" - }, - { - "type": "string", - "name": "notifications_url" - }, - { - "type": "string", - "name": "pulls_url" - }, - { - "type": "string", - "name": "releases_url" - }, - { - "type": "string", - "name": "ssh_url" - }, - { - "type": "string", - "name": "stargazers_url" - }, - { - "type": "string", - "name": "statuses_url" - }, - { - "type": "string", - "name": "subscribers_url" - }, - { - "type": "string", - "name": "subscription_url" - }, - { - "type": "string", - "name": "tags_url" - }, - { - "type": "string", - "name": "teams_url" - }, - { - "type": "string", - "name": "trees_url" - }, - { - "type": "string", - "name": "clone_url" - }, - { - "type": "string", - "name": "mirror_url" - }, - { - "type": "string", - "name": "hooks_url" - }, - { - "type": "string", - "name": "svn_url" - }, - { - "type": "string", - "name": "homepage" - }, - { - "type": "string", - "name": "language" - }, - { - "type": "integer", - "name": "forks_count" - }, - { - "type": "integer", - "name": "stargazers_count" - }, - { - "type": "integer", - "name": "watchers_count" - }, - { - "type": "integer", - "name": "size" - }, - { - "type": "string", - "name": "default_branch" - }, - { - "type": "integer", - "name": "open_issues_count" - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "array of strings", - "name": "topics" - }, - { - "type": "boolean", - "name": "has_issues" - }, - { - "type": "boolean", - "name": "has_projects" - }, - { - "type": "boolean", - "name": "has_wiki" - }, - { - "type": "boolean", - "name": "has_pages" - }, - { - "type": "boolean", - "name": "has_downloads" - }, - { - "type": "boolean", - "name": "archived" - }, - { - "type": "boolean", - "name": "disabled" - }, - { - "type": "string", - "name": "visibility" - }, - { - "type": "string", - "name": "pushed_at" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin" - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "push" - }, - { - "type": "boolean", - "name": "triage" - }, - { - "type": "boolean", - "name": "pull" - } - ] - }, - { - "type": "boolean", - "name": "allow_rebase_merge" - }, - { - "type": "string", - "name": "temp_clone_token" - }, - { - "type": "boolean", - "name": "allow_squash_merge" - }, - { - "type": "boolean", - "name": "allow_auto_merge" - }, - { - "type": "boolean", - "name": "delete_branch_on_merge" - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default" - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "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": "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": "boolean", - "name": "allow_merge_commit" - }, - { - "type": "integer", - "name": "subscribers_count" - }, - { - "type": "integer", - "name": "network_count" - } - ] - }, - { - "type": "string", - "name": "temp_clone_token" - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "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": "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": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow forking this repo" - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits", - "default": false - }, - { - "type": "integer", - "name": "subscribers_count" - }, - { - "type": "integer", - "name": "network_count" - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "starred_at" - }, - { - "type": "boolean", - "name": "anonymous_access_enabled", - "description": "Whether anonymous git access is enabled for this repository" - } - ] - }, - { - "type": "string or null", - "name": "temp_clone_token" - }, - { - "type": "boolean", - "name": "allow_squash_merge" - }, - { - "type": "boolean", - "name": "allow_auto_merge" - }, - { - "type": "boolean", - "name": "delete_branch_on_merge" - }, - { - "type": "boolean", - "name": "allow_merge_commit" - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default" - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "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": "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": "boolean", - "name": "allow_forking" - }, - { - "type": "boolean", - "name": "web_commit_signoff_required" - }, - { - "type": "integer", - "name": "subscribers_count", - "isRequired": true - }, - { - "type": "integer", - "name": "network_count", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "License Simple", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - }, - { - "type": "string or null", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "html_url" - } - ] - }, - { - "type": "object or null", - "name": "organization", - "description": "A GitHub user.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "object", - "name": "parent", - "description": "A repository on GitHub.", - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "License Simple", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - }, - { - "type": "string or null", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "html_url" - } - ] - }, - { - "type": "object or null", - "name": "organization", - "description": "A GitHub user.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - } - ] - }, - { - "type": "object", - "name": "owner", - "description": "A GitHub user.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "integer", - "name": "size", - "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false - }, - { - "type": "array of strings", - "name": "topics" - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "default": false - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository disabled.", - "isRequired": true - }, - { - "type": "string", - "name": "visibility", - "description": "The repository visibility: public, private, or internal.", - "default": "public" - }, - { - "type": "string or null", - "name": "pushed_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "object or null", - "name": "template_repository", - "childParamsGroups": [ - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "full_name" - }, - { - "type": "object", - "name": "owner", - "childParamsGroups": [ - { - "type": "string", - "name": "login" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "boolean", - "name": "site_admin" - } - ] - }, - { - "type": "boolean", - "name": "private" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string", - "name": "description" - }, - { - "type": "boolean", - "name": "fork" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "string", - "name": "archive_url" - }, - { - "type": "string", - "name": "assignees_url" - }, - { - "type": "string", - "name": "blobs_url" - }, - { - "type": "string", - "name": "branches_url" - }, - { - "type": "string", - "name": "collaborators_url" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "commits_url" - }, - { - "type": "string", - "name": "compare_url" - }, - { - "type": "string", - "name": "contents_url" - }, - { - "type": "string", - "name": "contributors_url" - }, - { - "type": "string", - "name": "deployments_url" - }, - { - "type": "string", - "name": "downloads_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "forks_url" - }, - { - "type": "string", - "name": "git_commits_url" - }, - { - "type": "string", - "name": "git_refs_url" - }, - { - "type": "string", - "name": "git_tags_url" - }, - { - "type": "string", - "name": "git_url" - }, - { - "type": "string", - "name": "issue_comment_url" - }, - { - "type": "string", - "name": "issue_events_url" - }, - { - "type": "string", - "name": "issues_url" - }, - { - "type": "string", - "name": "keys_url" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "string", - "name": "languages_url" - }, - { - "type": "string", - "name": "merges_url" - }, - { - "type": "string", - "name": "milestones_url" - }, - { - "type": "string", - "name": "notifications_url" - }, - { - "type": "string", - "name": "pulls_url" - }, - { - "type": "string", - "name": "releases_url" - }, - { - "type": "string", - "name": "ssh_url" - }, - { - "type": "string", - "name": "stargazers_url" - }, - { - "type": "string", - "name": "statuses_url" - }, - { - "type": "string", - "name": "subscribers_url" - }, - { - "type": "string", - "name": "subscription_url" - }, - { - "type": "string", - "name": "tags_url" - }, - { - "type": "string", - "name": "teams_url" - }, - { - "type": "string", - "name": "trees_url" - }, - { - "type": "string", - "name": "clone_url" - }, - { - "type": "string", - "name": "mirror_url" - }, - { - "type": "string", - "name": "hooks_url" - }, - { - "type": "string", - "name": "svn_url" - }, - { - "type": "string", - "name": "homepage" - }, - { - "type": "string", - "name": "language" - }, - { - "type": "integer", - "name": "forks_count" - }, - { - "type": "integer", - "name": "stargazers_count" - }, - { - "type": "integer", - "name": "watchers_count" - }, - { - "type": "integer", - "name": "size" - }, - { - "type": "string", - "name": "default_branch" - }, - { - "type": "integer", - "name": "open_issues_count" - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "array of strings", - "name": "topics" - }, - { - "type": "boolean", - "name": "has_issues" - }, - { - "type": "boolean", - "name": "has_projects" - }, - { - "type": "boolean", - "name": "has_wiki" - }, - { - "type": "boolean", - "name": "has_pages" - }, - { - "type": "boolean", - "name": "has_downloads" - }, - { - "type": "boolean", - "name": "archived" - }, - { - "type": "boolean", - "name": "disabled" - }, - { - "type": "string", - "name": "visibility" - }, - { - "type": "string", - "name": "pushed_at" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin" - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "push" - }, - { - "type": "boolean", - "name": "triage" - }, - { - "type": "boolean", - "name": "pull" - } - ] - }, - { - "type": "boolean", - "name": "allow_rebase_merge" - }, - { - "type": "string", - "name": "temp_clone_token" - }, - { - "type": "boolean", - "name": "allow_squash_merge" - }, - { - "type": "boolean", - "name": "allow_auto_merge" - }, - { - "type": "boolean", - "name": "delete_branch_on_merge" - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default" - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "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": "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": "boolean", - "name": "allow_merge_commit" - }, - { - "type": "integer", - "name": "subscribers_count" - }, - { - "type": "integer", - "name": "network_count" - } - ] - }, - { - "type": "string", - "name": "temp_clone_token" - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "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": "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": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow forking this repo" - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits", - "default": false - }, - { - "type": "integer", - "name": "subscribers_count" - }, - { - "type": "integer", - "name": "network_count" - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "starred_at" - }, - { - "type": "boolean", - "name": "anonymous_access_enabled", - "description": "Whether anonymous git access is enabled for this repository" - } - ] - }, - { - "type": "object", - "name": "source", - "description": "A repository on GitHub.", - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "License Simple", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "isRequired": true - }, - { - "type": "string or null", - "name": "spdx_id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "html_url" - } - ] - }, - { - "type": "object or null", - "name": "organization", - "description": "A GitHub user.", - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "isRequired": true - }, - { - "type": "boolean", - "name": "pull", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage" - }, - { - "type": "boolean", - "name": "push", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain" - } - ] - }, - { - "type": "object", - "name": "owner", - "description": "A GitHub user.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "name" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "avatar_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "gravatar_id", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string", - "name": "followers_url", - "isRequired": true - }, - { - "type": "string", - "name": "following_url", - "isRequired": true - }, - { - "type": "string", - "name": "gists_url", - "isRequired": true - }, - { - "type": "string", - "name": "starred_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscriptions_url", - "isRequired": true - }, - { - "type": "string", - "name": "organizations_url", - "isRequired": true - }, - { - "type": "string", - "name": "repos_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "received_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "type", - "isRequired": true - }, - { - "type": "boolean", - "name": "site_admin", - "isRequired": true - }, - { - "type": "string", - "name": "starred_at" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string", - "name": "ssh_url", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "mirror_url", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "svn_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "homepage", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "isRequired": true - }, - { - "type": "integer", - "name": "stargazers_count", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers_count", - "isRequired": true - }, - { - "type": "integer", - "name": "size", - "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false - }, - { - "type": "array of strings", - "name": "topics" - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.", - "default": false - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.", - "isRequired": true, - "default": false - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository disabled.", - "isRequired": true - }, - { - "type": "string", - "name": "visibility", - "description": "The repository visibility: public, private, or internal.", - "default": "public" - }, - { - "type": "string or null", - "name": "pushed_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "created_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "updated_at", - "isRequired": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.", - "default": true - }, - { - "type": "object or null", - "name": "template_repository", - "childParamsGroups": [ - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "full_name" - }, - { - "type": "object", - "name": "owner", - "childParamsGroups": [ - { - "type": "string", - "name": "login" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "boolean", - "name": "site_admin" - } - ] - }, - { - "type": "boolean", - "name": "private" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "string", - "name": "description" - }, - { - "type": "boolean", - "name": "fork" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "string", - "name": "archive_url" - }, - { - "type": "string", - "name": "assignees_url" - }, - { - "type": "string", - "name": "blobs_url" - }, - { - "type": "string", - "name": "branches_url" - }, - { - "type": "string", - "name": "collaborators_url" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "commits_url" - }, - { - "type": "string", - "name": "compare_url" - }, - { - "type": "string", - "name": "contents_url" - }, - { - "type": "string", - "name": "contributors_url" - }, - { - "type": "string", - "name": "deployments_url" - }, - { - "type": "string", - "name": "downloads_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "forks_url" - }, - { - "type": "string", - "name": "git_commits_url" - }, - { - "type": "string", - "name": "git_refs_url" - }, - { - "type": "string", - "name": "git_tags_url" - }, - { - "type": "string", - "name": "git_url" - }, - { - "type": "string", - "name": "issue_comment_url" - }, - { - "type": "string", - "name": "issue_events_url" - }, - { - "type": "string", - "name": "issues_url" - }, - { - "type": "string", - "name": "keys_url" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "string", - "name": "languages_url" - }, - { - "type": "string", - "name": "merges_url" - }, - { - "type": "string", - "name": "milestones_url" - }, - { - "type": "string", - "name": "notifications_url" - }, - { - "type": "string", - "name": "pulls_url" - }, - { - "type": "string", - "name": "releases_url" - }, - { - "type": "string", - "name": "ssh_url" - }, - { - "type": "string", - "name": "stargazers_url" - }, - { - "type": "string", - "name": "statuses_url" - }, - { - "type": "string", - "name": "subscribers_url" - }, - { - "type": "string", - "name": "subscription_url" - }, - { - "type": "string", - "name": "tags_url" - }, - { - "type": "string", - "name": "teams_url" - }, - { - "type": "string", - "name": "trees_url" - }, - { - "type": "string", - "name": "clone_url" - }, - { - "type": "string", - "name": "mirror_url" - }, - { - "type": "string", - "name": "hooks_url" - }, - { - "type": "string", - "name": "svn_url" - }, - { - "type": "string", - "name": "homepage" - }, - { - "type": "string", - "name": "language" - }, - { - "type": "integer", - "name": "forks_count" - }, - { - "type": "integer", - "name": "stargazers_count" - }, - { - "type": "integer", - "name": "watchers_count" - }, - { - "type": "integer", - "name": "size" - }, - { - "type": "string", - "name": "default_branch" - }, - { - "type": "integer", - "name": "open_issues_count" - }, - { - "type": "boolean", - "name": "is_template" - }, - { - "type": "array of strings", - "name": "topics" - }, - { - "type": "boolean", - "name": "has_issues" - }, - { - "type": "boolean", - "name": "has_projects" - }, - { - "type": "boolean", - "name": "has_wiki" - }, - { - "type": "boolean", - "name": "has_pages" - }, - { - "type": "boolean", - "name": "has_downloads" - }, - { - "type": "boolean", - "name": "archived" - }, - { - "type": "boolean", - "name": "disabled" - }, - { - "type": "string", - "name": "visibility" - }, - { - "type": "string", - "name": "pushed_at" - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "object", - "name": "permissions", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin" - }, - { - "type": "boolean", - "name": "maintain" - }, - { - "type": "boolean", - "name": "push" - }, - { - "type": "boolean", - "name": "triage" - }, - { - "type": "boolean", - "name": "pull" - } - ] - }, - { - "type": "boolean", - "name": "allow_rebase_merge" - }, - { - "type": "string", - "name": "temp_clone_token" - }, - { - "type": "boolean", - "name": "allow_squash_merge" - }, - { - "type": "boolean", - "name": "allow_auto_merge" - }, - { - "type": "boolean", - "name": "delete_branch_on_merge" - }, - { - "type": "boolean", - "name": "allow_update_branch" - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default" - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "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": "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": "boolean", - "name": "allow_merge_commit" - }, - { - "type": "integer", - "name": "subscribers_count" - }, - { - "type": "integer", - "name": "network_count" - } - ] - }, - { - "type": "string", - "name": "temp_clone_token" - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged", - "default": false - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false - }, - { - "type": "boolean", - "name": "use_squash_pr_title_as_default", - "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false - }, - { - "type": "string", - "name": "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", - "name": "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", - "name": "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": "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": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.", - "default": true - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow forking this repo" - }, - { - "type": "boolean", - "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits", - "default": false - }, - { - "type": "integer", - "name": "subscribers_count" - }, - { - "type": "integer", - "name": "network_count" - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "string", - "name": "starred_at" - }, - { - "type": "boolean", - "name": "anonymous_access_enabled", - "description": "Whether anonymous git access is enabled for this repository" - } - ] - }, - { - "type": "integer", - "name": "forks", - "isRequired": true - }, - { - "type": "string", - "name": "master_branch" - }, - { - "type": "integer", - "name": "open_issues", - "isRequired": true - }, - { - "type": "integer", - "name": "watchers", - "isRequired": true - }, - { - "type": "boolean", - "name": "anonymous_access_enabled", - "description": "Whether anonymous git access is allowed.", - "default": true - }, - { - "type": "object", - "name": "code_of_conduct", - "description": "Code of Conduct Simple", - "childParamsGroups": [ - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "key", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string or null", - "name": "html_url", - "isRequired": true - } - ] - }, - { - "type": "object or null", - "name": "security_and_analysis", - "childParamsGroups": [ - { - "type": "object", - "name": "advanced_security", - "childParamsGroups": [ - { - "type": "string", - "name": "status", - "enum": [ - "enabled", - "disabled" - ] - } - ] - }, - { - "type": "object", - "name": "secret_scanning", - "childParamsGroups": [ - { - "type": "string", - "name": "status", - "enum": [ - "enabled", - "disabled" - ] - } - ] - }, - { - "type": "object", - "name": "secret_scanning_push_protection", - "childParamsGroups": [ - { - "type": "string", - "name": "status", - "enum": [ - "enabled", - "disabled" - ] - } - ] - } - ] - } - ] - }, - 30 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "default", - "category": "security_and_analysis" - } - }, - "sponsorship": { - "cancelled": { - "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.", - "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).\"", - "bodyParameters": [ - 57, - 1, - 2, - 3, - 36, - 6, - 98 - ], - "availability": [ - "sponsors_listing" - ], - "action": "cancelled", - "category": "sponsorship" - }, - "created": { - "description": "A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed.", - "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).\"", - "bodyParameters": [ - 0, - 1, - 2, - 3, - 36, - 6, - 98 - ], - "availability": [ - "sponsors_listing" - ], - "action": "created", - "category": "sponsorship" - }, - "edited": { - "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.", - "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).\"", - "bodyParameters": [ - 8, - { - "type": "object", - "name": "changes", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "privacy_level", - "childParamsGroups": [ - { - "type": "string", - "name": "from", - "description": "The `edited` event types include the details about the change when someone edits a sponsorship to change the privacy.", - "isRequired": true - } - ] - } - ] - }, - 1, - 2, - 3, - 36, - 6, - 98 - ], - "availability": [ - "sponsors_listing" - ], - "action": "edited", - "category": "sponsorship" - }, - "pending_cancellation": { - "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.", - "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).\"", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "pending_cancellation" - ] - }, - 99, - 1, - 2, - 3, - 36, - 6, - 98 - ], - "availability": [ - "sponsors_listing" - ], - "action": "pending_cancellation", - "category": "sponsorship" - }, - "pending_tier_change": { - "description": "A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date.", - "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).\"", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "pending_tier_change" - ] - }, - 100, - 99, - 1, - 2, - 3, - 36, - 6, - 98 - ], - "availability": [ - "sponsors_listing" - ], - "action": "pending_tier_change", - "category": "sponsorship" - }, - "tier_changed": { - "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.", - "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).\"", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "tier_changed" - ] - }, - 100, - 1, - 2, - 3, - 36, - 6, - 98 - ], - "availability": [ - "sponsors_listing" - ], - "action": "tier_changed", - "category": "sponsorship" - } - }, - "star": { - "created": { - "description": "Someone starred a repository.", - "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.", - "bodyParameters": [ - 0, - 1, - 2, - 3, - 4, - 6, - { - "type": "string or null", - "name": "starred_at", - "in": "body", - "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.", - "isRequired": true - } - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "star" - }, - "deleted": { - "description": "Someone unstarred the repository.", - "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.", - "bodyParameters": [ - 7, - 1, - 2, - 3, - 4, - 6, - { - "type": "null", - "name": "starred_at", - "in": "body", - "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.", - "isRequired": true - } - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "deleted", - "category": "star" + "action": "resolve" } }, "status": { "default": { - "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.", "bodyParameters": [ { - "type": "string or null", - "name": "avatar_url", - "in": "body" + "name": "avatar_url" }, { - "type": "array of objects", "name": "branches", - "in": "body", "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.", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "commit", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "string or null", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "boolean", - "name": "protected", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commit", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object or null", - "name": "author", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", "name": "url" } ] }, { - "type": "string", - "name": "comments_url", - "isRequired": true + "name": "name" }, { - "type": "object", + "name": "protected" + } + ] + }, + { + "name": "commit", + "childParamsGroups": [ + { + "name": "author", + "childParamsGroups": [ + { + "name": "avatar_url" + }, + { + "name": "deleted" + }, + { + "name": "email" + }, + { + "name": "events_url" + }, + { + "name": "followers_url" + }, + { + "name": "following_url" + }, + { + "name": "gists_url" + }, + { + "name": "gravatar_id" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "login" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "organizations_url" + }, + { + "name": "received_events_url" + }, + { + "name": "repos_url" + }, + { + "name": "site_admin" + }, + { + "name": "starred_url" + }, + { + "name": "subscriptions_url" + }, + { + "name": "type" + }, + { + "name": "url" + } + ] + }, + { + "name": "comments_url" + }, + { "name": "commit", - "isRequired": true, "childParamsGroups": [ { - "type": "object", "name": "author", "description": "Metaproperties for Git author/committer information.", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "date" }, { - "type": "string or null", - "name": "email", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The git author's name.", - "isRequired": true - }, - { - "type": "string", - "name": "username" - }, - { - "type": "string", - "name": "date", - "isRequired": true - }, - { - "type": "string", "name": "email" }, { - "type": "string", + "name": "name", + "description": "The git author's name." + }, + { + "name": "username" + }, + { + "name": "date" + }, + { + "name": "email" + }, + { "name": "name" } ] }, { - "type": "integer", - "name": "comment_count", - "isRequired": true + "name": "comment_count" }, { - "type": "object", "name": "committer", "description": "Metaproperties for Git author/committer information.", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "date" }, { - "type": "string or null", - "name": "email", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The git author's name.", - "isRequired": true - }, - { - "type": "string", - "name": "username" - }, - { - "type": "string", - "name": "date", - "isRequired": true - }, - { - "type": "string", "name": "email" }, { - "type": "string", + "name": "name", + "description": "The git author's name." + }, + { + "name": "username" + }, + { + "name": "date" + }, + { + "name": "email" + }, + { "name": "name" } ] }, { - "type": "string", - "name": "message", - "isRequired": true + "name": "message" }, { - "type": "object", "name": "tree", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" }, { - "type": "object", "name": "verification", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "payload", - "isRequired": true + "name": "payload" }, { - "type": "string", - "name": "reason", - "isRequired": true, - "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" - ] + "name": "reason" }, { - "type": "string or null", - "name": "signature", - "isRequired": true + "name": "signature" }, { - "type": "boolean", - "name": "verified", - "isRequired": true + "name": "verified" } ] } ] }, { - "type": "object or null", "name": "committer", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "boolean", "name": "deleted" }, { - "type": "string or null", "name": "email" }, { - "type": "string", "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] + "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "array of objects", "name": "parents", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "sha" }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, { - "type": "string", - "name": "context", - "in": "body", - "isRequired": true + "name": "context" }, { - "type": "string", - "name": "created_at", - "in": "body", - "isRequired": true + "name": "created_at" }, { - "type": "string or null", "name": "description", - "in": "body", - "description": "The optional human-readable description added to the status.", - "isRequired": true + "description": "The optional human-readable description added to the status." }, 1, { - "type": "integer", "name": "id", - "in": "body", - "description": "The unique identifier of the status.", - "isRequired": true + "description": "The unique identifier of the status." }, 2, { - "type": "string", - "name": "name", - "in": "body", - "isRequired": true + "name": "name" }, 3, 4, 6, { - "type": "string", "name": "sha", - "in": "body", - "description": "The Commit SHA.", - "isRequired": true + "description": "The Commit SHA." }, { - "type": "string", "name": "state", - "in": "body", - "description": "The new state. Can be `pending`, `success`, `failure`, or `error`.", - "isRequired": true, - "enum": [ - "pending", - "success", - "failure", - "error" - ] + "description": "The new state. Can be `pending`, `success`, `failure`, or `error`." }, { - "type": "string or null", "name": "target_url", - "in": "body", - "description": "The optional link added to the status.", - "isRequired": true + "description": "The optional link added to the status." }, { - "type": "string", - "name": "updated_at", - "in": "body", - "isRequired": true + "name": "updated_at" } ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "default", - "category": "status" - } - }, - "team_add": { - "default": { - "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.", - "bodyParameters": [ - 1, - 2, - 3, - 4, - 6, - 64 - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "default", - "category": "team_add" - } - }, - "team": { - "added_to_repository": { - "description": "A team was granted access to a repository.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "added_to_repository" - ] - }, - 1, - 2, - 62, - 101, - 30, - 64 - ], - "availability": [ - "organization", - "business", - "app" - ], - "action": "added_to_repository", - "category": "team" - }, - "created": { - "description": "A team was created.", - "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.", - "bodyParameters": [ - 0, - 1, - 2, - 62, - 101, - 6, - 64 - ], - "availability": [ - "organization", - "business", - "app" - ], - "action": "created", - "category": "team" - }, - "deleted": { - "description": "A team was deleted.", - "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.", - "bodyParameters": [ - 7, - 1, - 2, - 62, - 101, - 30, - 64 - ], - "availability": [ - "organization", - "business", - "app" - ], - "action": "deleted", - "category": "team" - }, - "edited": { - "description": "The name, description, or visibility of a team was changed.", - "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.", - "bodyParameters": [ - 8, - { - "type": "object", - "name": "changes", - "in": "body", - "description": "The changes to the team if the action was `edited`.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "description", - "childParamsGroups": [ - { - "type": "string", - "name": "from", - "description": "The previous version of the description if the action was `edited`.", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "name", - "childParamsGroups": [ - { - "type": "string", - "name": "from", - "description": "The previous version of the name if the action was `edited`.", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "privacy", - "childParamsGroups": [ - { - "type": "string", - "name": "from", - "description": "The previous version of the team's privacy if the action was `edited`.", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "repository", - "childParamsGroups": [ - { - "type": "object", - "name": "permissions", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "from", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "The previous version of the team member's `admin` permission on a repository, if the action was `edited`." - }, - { - "type": "boolean", - "name": "pull", - "description": "The previous version of the team member's `pull` permission on a repository, if the action was `edited`." - }, - { - "type": "boolean", - "name": "push", - "description": "The previous version of the team member's `push` permission on a repository, if the action was `edited`." - } - ] - } - ] - } - ] - } - ] - }, - 1, - 2, - 62, - 101, - 6, - 64 - ], - "availability": [ - "organization", - "business", - "app" - ], - "action": "edited", - "category": "team" - }, - "removed_from_repository": { - "description": "A team's access to a repository was removed.", - "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.", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "removed_from_repository" - ] - }, - 1, - 2, - 62, - 101, - 6, - 64 - ], - "availability": [ - "organization", - "business", - "app" - ], - "action": "removed_from_repository", - "category": "team" + "action": "default" } }, "watch": { "started": { - "description": "Someone started watching the repository.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "started" - ] - }, + 0, 1, 2, 3, 4, 6 ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "started", - "category": "watch" + "action": "started" } }, "workflow_dispatch": { "default": { - "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.", "bodyParameters": [ 1, { - "type": "object or null", "name": "inputs", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "string", "name": "name" }, { - "type": "string", "name": "number" } ] @@ -118237,6575 +28056,1427 @@ 2, 3, { - "type": "string", - "name": "ref", - "in": "body", - "isRequired": true + "name": "ref" }, 4, 6, { - "type": "string", - "name": "workflow", - "in": "body", - "isRequired": true + "name": "workflow" } ], - "availability": [ - "app" - ], - "action": "default", - "category": "workflow_dispatch" + "action": "default" } }, "workflow_job": { "completed": { - "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.", - "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.", "bodyParameters": [ - 11, + 0, 1, 2, 3, 4, 6, { - "type": "object", "name": "workflow_job", - "in": "body", "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.", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "check_run_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "completed_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "conclusion", - "isRequired": true, - "enum": [ - "success", - "failure", - null, - "skipped", - "cancelled", - "action_required", - "neutral", - "timed_out" - ] - }, - { - "type": "string", - "name": "head_sha", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of strings", - "name": "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.", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "run_attempt", - "isRequired": true - }, - { - "type": "number", - "name": "run_id", - "isRequired": true - }, - { - "type": "string", - "name": "run_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "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`.", - "isRequired": true - }, - { - "type": "string or null", - "name": "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`.", - "isRequired": true - }, - { - "type": "integer or null", - "name": "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`.", - "isRequired": true - }, - { - "type": "string or null", - "name": "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`.", - "isRequired": true - }, - { - "type": "string", - "name": "started_at", - "isRequired": true - }, - { - "type": "string", - "name": "status", - "description": "The current status of the job. Can be `queued`, `in_progress`, `waiting`, or `completed`.", - "isRequired": true, - "enum": [ - "queued", - "in_progress", - "completed", - "waiting" - ] - }, - { - "type": "string or null", - "name": "head_branch", - "description": "The name of the current branch.", - "isRequired": true - }, - { - "type": "string or null", - "name": "workflow_name", - "description": "The name of the workflow.", - "isRequired": true - }, - { - "type": "array of objects", - "name": "steps", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "completed_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "conclusion", - "isRequired": true, - "enum": [ - "failure", - "skipped", - "success", - "cancelled", - null - ] - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string or null", - "name": "started_at", - "isRequired": true - }, - { - "type": "string", - "name": "status", - "isRequired": true, - "enum": [ - "in_progress", - "completed", - "queued" - ] - } - ] - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", "name": "check_run_url" }, { - "type": "string", "name": "completed_at" }, { - "type": "string", - "name": "conclusion", - "isRequired": true, - "enum": [ - "success", - "failure", - "skipped", - "cancelled", - "action_required", - "neutral", - "timed_out" - ] - }, - { - "type": "string", - "name": "head_sha" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "array of strings", - "name": "labels" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "integer", - "name": "run_attempt" - }, - { - "type": "integer", - "name": "run_id" - }, - { - "type": "string", - "name": "run_url" - }, - { - "type": "number or null", - "name": "runner_group_id" - }, - { - "type": "string or null", - "name": "runner_group_name" - }, - { - "type": "number or null", - "name": "runner_id" - }, - { - "type": "string or null", - "name": "runner_name" - }, - { - "type": "string", - "name": "started_at" - }, - { - "type": "string", - "name": "status" - }, - { - "type": "string or null", - "name": "head_branch", - "description": "The name of the current branch." - }, - { - "type": "string or null", - "name": "workflow_name", - "description": "The name of the workflow." - }, - { - "type": "array of objects", - "name": "steps" - }, - { - "type": "string", - "name": "url" - } - ] - }, - 102 - ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "completed", - "category": "workflow_job" - }, - "in_progress": { - "description": "A job in a workflow run started processing on a runner.", - "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.", - "bodyParameters": [ - 103, - 1, - 2, - 3, - 4, - 6, - { - "type": "object", - "name": "workflow_job", - "in": "body", - "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.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "check_run_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "completed_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "conclusion", - "isRequired": true, - "enum": [ - "success", - "failure", - null, - "cancelled", - "neutral" - ] - }, - { - "type": "string", - "name": "head_sha", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "array of strings", - "name": "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.", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "integer", - "name": "run_attempt", - "isRequired": true - }, - { - "type": "number", - "name": "run_id", - "isRequired": true - }, - { - "type": "string", - "name": "run_url", - "isRequired": true - }, - { - "type": "integer or null", - "name": "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`.", - "isRequired": true - }, - { - "type": "string or null", - "name": "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`.", - "isRequired": true - }, - { - "type": "integer or null", - "name": "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`.", - "isRequired": true - }, - { - "type": "string or null", - "name": "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`.", - "isRequired": true - }, - { - "type": "string", - "name": "started_at", - "isRequired": true - }, - { - "type": "string", - "name": "status", - "description": "The current status of the job. Can be `queued`, `in_progress`, or `completed`.", - "isRequired": true, - "enum": [ - "queued", - "in_progress", - "completed" - ] - }, - { - "type": "string or null", - "name": "head_branch", - "description": "The name of the current branch.", - "isRequired": true - }, - { - "type": "string or null", - "name": "workflow_name", - "description": "The name of the workflow.", - "isRequired": true - }, - { - "type": "array of objects", - "name": "steps", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "completed_at", - "isRequired": true - }, - { - "type": "string or null", - "name": "conclusion", - "isRequired": true, - "enum": [ - "failure", - "skipped", - "success", - null, - "cancelled" - ] - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "isRequired": true - }, - { - "type": "string or null", - "name": "started_at", - "isRequired": true - }, - { - "type": "string", - "name": "status", - "isRequired": true, - "enum": [ - "in_progress", - "completed", - "queued", - "pending" - ] - } - ] - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "string", - "name": "check_run_url" - }, - { - "type": "string or null", - "name": "completed_at" - }, - { - "type": "string or null", "name": "conclusion" }, { - "type": "string", "name": "head_sha" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "array of strings", - "name": "labels" + "name": "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." }, { - "type": "string", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "integer", "name": "run_attempt" }, { - "type": "integer", "name": "run_id" }, { - "type": "string", "name": "run_url" }, { - "type": "number or null", - "name": "runner_group_id" + "name": "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`." }, { - "type": "string or null", - "name": "runner_group_name" + "name": "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`." }, { - "type": "number or null", - "name": "runner_id" + "name": "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`." }, { - "type": "string or null", - "name": "runner_name" + "name": "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`." }, { - "type": "string", "name": "started_at" }, { - "type": "string", "name": "status", - "isRequired": true, - "enum": [ - "in_progress", - "completed", - "queued" - ] + "description": "The current status of the job. Can be `queued`, `in_progress`, `waiting`, or `completed`." }, { - "type": "string or null", "name": "head_branch", "description": "The name of the current branch." }, { - "type": "string or null", "name": "workflow_name", "description": "The name of the workflow." }, { - "type": "array of objects", "name": "steps", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "completed_at", - "isRequired": true + "name": "completed_at" }, { - "type": "string or null", - "name": "conclusion", - "isRequired": true + "name": "conclusion" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" }, { - "type": "integer", - "name": "number", - "isRequired": true + "name": "number" }, { - "type": "string or null", - "name": "started_at", - "isRequired": true + "name": "started_at" }, { - "type": "string", - "name": "status", - "isRequired": true, - "enum": [ - "in_progress", - "completed", - "pending", - "queued" - ] + "name": "status" } ] }, { - "type": "string", + "name": "url" + }, + { + "name": "check_run_url" + }, + { + "name": "completed_at" + }, + { + "name": "conclusion" + }, + { + "name": "head_sha" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "run_attempt" + }, + { + "name": "run_id" + }, + { + "name": "run_url" + }, + { + "name": "runner_group_id" + }, + { + "name": "runner_group_name" + }, + { + "name": "runner_id" + }, + { + "name": "runner_name" + }, + { + "name": "started_at" + }, + { + "name": "status" + }, + { + "name": "head_branch", + "description": "The name of the current branch." + }, + { + "name": "workflow_name", + "description": "The name of the workflow." + }, + { + "name": "steps" + }, + { "name": "url" } ] }, - 102 + 51 ], - "availability": [ - "business", - "repository", - "organization", - "app" + "action": "completed" + }, + "in_progress": { + "bodyParameters": [ + 0, + 1, + 2, + 3, + 4, + 6, + { + "name": "workflow_job", + "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.", + "childParamsGroups": [ + { + "name": "check_run_url" + }, + { + "name": "completed_at" + }, + { + "name": "conclusion" + }, + { + "name": "head_sha" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "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." + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "run_attempt" + }, + { + "name": "run_id" + }, + { + "name": "run_url" + }, + { + "name": "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`." + }, + { + "name": "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`." + }, + { + "name": "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`." + }, + { + "name": "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`." + }, + { + "name": "started_at" + }, + { + "name": "status", + "description": "The current status of the job. Can be `queued`, `in_progress`, or `completed`." + }, + { + "name": "head_branch", + "description": "The name of the current branch." + }, + { + "name": "workflow_name", + "description": "The name of the workflow." + }, + { + "name": "steps", + "childParamsGroups": [ + { + "name": "completed_at" + }, + { + "name": "conclusion" + }, + { + "name": "name" + }, + { + "name": "number" + }, + { + "name": "started_at" + }, + { + "name": "status" + } + ] + }, + { + "name": "url" + }, + { + "name": "check_run_url" + }, + { + "name": "completed_at" + }, + { + "name": "conclusion" + }, + { + "name": "head_sha" + }, + { + "name": "html_url" + }, + { + "name": "id" + }, + { + "name": "labels" + }, + { + "name": "name" + }, + { + "name": "node_id" + }, + { + "name": "run_attempt" + }, + { + "name": "run_id" + }, + { + "name": "run_url" + }, + { + "name": "runner_group_id" + }, + { + "name": "runner_group_name" + }, + { + "name": "runner_id" + }, + { + "name": "runner_name" + }, + { + "name": "started_at" + }, + { + "name": "status" + }, + { + "name": "head_branch", + "description": "The name of the current branch." + }, + { + "name": "workflow_name", + "description": "The name of the workflow." + }, + { + "name": "steps", + "childParamsGroups": [ + { + "name": "completed_at" + }, + { + "name": "conclusion" + }, + { + "name": "name" + }, + { + "name": "number" + }, + { + "name": "started_at" + }, + { + "name": "status" + } + ] + }, + { + "name": "url" + } + ] + }, + 51 ], - "action": "in_progress", - "category": "workflow_job" + "action": "in_progress" }, "queued": { - "description": "A job in a workflow run was created.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "queued" - ] - }, + 0, 1, 2, 3, 4, 6, { - "type": "object", "name": "workflow_job", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "check_run_url", - "isRequired": true + "name": "check_run_url" }, { - "type": "string or null", - "name": "completed_at", - "isRequired": true + "name": "completed_at" }, { - "type": "string or null", - "name": "conclusion", - "isRequired": true + "name": "conclusion" }, { - "type": "string", - "name": "head_sha", - "isRequired": true + "name": "head_sha" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "array of strings", - "name": "labels", - "isRequired": true + "name": "labels" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", - "name": "run_attempt", - "isRequired": true + "name": "run_attempt" }, { - "type": "number", - "name": "run_id", - "isRequired": true + "name": "run_id" }, { - "type": "string", - "name": "run_url", - "isRequired": true + "name": "run_url" }, { - "type": "integer or null", - "name": "runner_group_id", - "isRequired": true + "name": "runner_group_id" }, { - "type": "string or null", - "name": "runner_group_name", - "isRequired": true + "name": "runner_group_name" }, { - "type": "integer or null", - "name": "runner_id", - "isRequired": true + "name": "runner_id" }, { - "type": "string or null", - "name": "runner_name", - "isRequired": true + "name": "runner_name" }, { - "type": "string", - "name": "started_at", - "isRequired": true + "name": "started_at" }, { - "type": "string", - "name": "status", - "isRequired": true, - "enum": [ - "queued", - "in_progress", - "completed", - "waiting" - ] + "name": "status" }, { - "type": "string or null", "name": "head_branch", - "description": "The name of the current branch.", - "isRequired": true + "description": "The name of the current branch." }, { - "type": "string or null", "name": "workflow_name", - "description": "The name of the workflow.", - "isRequired": true + "description": "The name of the workflow." }, { - "type": "array of objects", "name": "steps", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "completed_at", - "isRequired": true + "name": "completed_at" }, { - "type": "string or null", - "name": "conclusion", - "isRequired": true, - "enum": [ - "failure", - "skipped", - "success", - "cancelled", - null - ] + "name": "conclusion" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" }, { - "type": "integer", - "name": "number", - "isRequired": true + "name": "number" }, { - "type": "string or null", - "name": "started_at", - "isRequired": true + "name": "started_at" }, { - "type": "string", - "name": "status", - "isRequired": true, - "enum": [ - "completed", - "in_progress", - "queued", - "pending" - ] + "name": "status" } ] }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, - 102 + 51 ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "queued", - "category": "workflow_job" + "action": "queued" }, "waiting": { - "description": "A job in a workflow run was created and is waiting for approvals.", - "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.", "bodyParameters": [ - { - "type": "string", - "name": "action", - "in": "body", - "isRequired": true, - "enum": [ - "waiting" - ] - }, + 0, 1, 2, 3, 4, 6, { - "type": "object", "name": "workflow_job", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "string", - "name": "check_run_url", - "isRequired": true + "name": "check_run_url" }, { - "type": "string or null", - "name": "completed_at", - "isRequired": true + "name": "completed_at" }, { - "type": "string or null", - "name": "conclusion", - "isRequired": true + "name": "conclusion" }, { - "type": "string", - "name": "head_sha", - "isRequired": true + "name": "head_sha" }, { - "type": "string", - "name": "html_url", - "isRequired": true + "name": "html_url" }, { - "type": "integer", - "name": "id", - "isRequired": true + "name": "id" }, { - "type": "array of strings", - "name": "labels", - "isRequired": true + "name": "labels" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" }, { - "type": "string", - "name": "node_id", - "isRequired": true + "name": "node_id" }, { - "type": "integer", - "name": "run_attempt", - "isRequired": true + "name": "run_attempt" }, { - "type": "number", - "name": "run_id", - "isRequired": true + "name": "run_id" }, { - "type": "string", - "name": "run_url", - "isRequired": true + "name": "run_url" }, { - "type": "integer or null", - "name": "runner_group_id", - "isRequired": true + "name": "runner_group_id" }, { - "type": "string or null", - "name": "runner_group_name", - "isRequired": true + "name": "runner_group_name" }, { - "type": "integer or null", - "name": "runner_id", - "isRequired": true + "name": "runner_id" }, { - "type": "string or null", - "name": "runner_name", - "isRequired": true + "name": "runner_name" }, { - "type": "string", - "name": "started_at", - "isRequired": true + "name": "started_at" }, { - "type": "string or null", "name": "head_branch", - "description": "The name of the current branch.", - "isRequired": true + "description": "The name of the current branch." }, { - "type": "string or null", "name": "workflow_name", - "description": "The name of the workflow.", - "isRequired": true + "description": "The name of the workflow." }, { - "type": "string", - "name": "status", - "isRequired": true, - "enum": [ - "queued", - "in_progress", - "completed", - "waiting" - ] + "name": "status" }, { - "type": "array of objects", "name": "steps", - "isRequired": true, "childParamsGroups": [ { - "type": "string or null", - "name": "completed_at", - "isRequired": true + "name": "completed_at" }, { - "type": "string or null", - "name": "conclusion", - "isRequired": true, - "enum": [ - "failure", - "skipped", - "success", - "cancelled", - null - ] + "name": "conclusion" }, { - "type": "string", - "name": "name", - "isRequired": true + "name": "name" }, { - "type": "integer", - "name": "number", - "isRequired": true + "name": "number" }, { - "type": "string or null", - "name": "started_at", - "isRequired": true + "name": "started_at" }, { - "type": "string", - "name": "status", - "isRequired": true, - "enum": [ - "completed", - "in_progress", - "queued", - "pending", - "waiting" - ] + "name": "status" } ] }, { - "type": "string", - "name": "url", - "isRequired": true + "name": "url" } ] }, - 102 + 51 ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "waiting", - "category": "workflow_job" + "action": "waiting" } }, "workflow_run": { "completed": { - "description": "A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful.", - "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.", "bodyParameters": [ - 11, + 0, 1, 2, 3, 4, 6, - 23, - { - "type": "object", - "name": "workflow_run", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object or null", - "name": "actor", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "artifacts_url", - "isRequired": true - }, - { - "type": "string", - "name": "cancel_url", - "isRequired": true - }, - { - "type": "integer", - "name": "check_suite_id", - "isRequired": true - }, - { - "type": "string", - "name": "check_suite_node_id", - "isRequired": true - }, - { - "type": "string", - "name": "check_suite_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "conclusion", - "isRequired": true, - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null, - "skipped" - ] - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "event", - "isRequired": true - }, - { - "type": "string or null", - "name": "head_branch", - "isRequired": true - }, - { - "type": "object", - "name": "head_commit", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "author", - "description": "Metaproperties for Git author/committer information.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "date" - }, - { - "type": "string or null", - "name": "email", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The git author's name.", - "isRequired": true - }, - { - "type": "string", - "name": "username" - } - ] - }, - { - "type": "object", - "name": "committer", - "description": "Metaproperties for Git author/committer information.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "date" - }, - { - "type": "string or null", - "name": "email", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The git author's name.", - "isRequired": true - }, - { - "type": "string", - "name": "username" - } - ] - }, - { - "type": "string", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "message", - "isRequired": true - }, - { - "type": "string", - "name": "timestamp", - "isRequired": true - }, - { - "type": "string", - "name": "tree_id", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "head_repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "head_sha", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "jobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "logs_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "path", - "isRequired": true - }, - { - "type": "string or null", - "name": "previous_attempt_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "pull_requests", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "number", - "name": "id", - "isRequired": true - }, - { - "type": "number", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "array of objects or null", - "name": "referenced_workflows", - "childParamsGroups": [ - { - "type": "string", - "name": "path", - "isRequired": true - }, - { - "type": "string", - "name": "ref" - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "rerun_url", - "isRequired": true - }, - { - "type": "integer", - "name": "run_attempt", - "isRequired": true - }, - { - "type": "integer", - "name": "run_number", - "isRequired": true - }, - { - "type": "string", - "name": "run_started_at", - "isRequired": true - }, - { - "type": "string", - "name": "status", - "isRequired": true, - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "pending", - "waiting" - ] - }, - { - "type": "object or null", - "name": "triggering_actor", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "integer", - "name": "workflow_id", - "isRequired": true - }, - { - "type": "string", - "name": "workflow_url", - "isRequired": true - }, - { - "type": "object", - "name": "actor", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "artifacts_url" - }, - { - "type": "string", - "name": "cancel_url" - }, - { - "type": "integer", - "name": "check_suite_id" - }, - { - "type": "string", - "name": "check_suite_node_id" - }, - { - "type": "string", - "name": "check_suite_url" - }, - { - "type": "string", - "name": "conclusion", - "isRequired": true, - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - "skipped" - ] - }, - { - "type": "string", - "name": "created_at" - }, - { - "type": "string", - "name": "event" - }, - { - "type": "string or null", - "name": "head_branch" - }, - { - "type": "object", - "name": "head_commit", - "childParamsGroups": [ - { - "type": "object", - "name": "author", - "childParamsGroups": [ - { - "type": "string", - "name": "email" - }, - { - "type": "string", - "name": "name" - } - ] - }, - { - "type": "object", - "name": "committer", - "childParamsGroups": [ - { - "type": "string", - "name": "email" - }, - { - "type": "string", - "name": "name" - } - ] - }, - { - "type": "string", - "name": "id" - }, - { - "type": "string", - "name": "message" - }, - { - "type": "string", - "name": "timestamp" - }, - { - "type": "string", - "name": "tree_id" - } - ] - }, - { - "type": "object", - "name": "head_repository", - "childParamsGroups": [ - { - "type": "string", - "name": "archive_url" - }, - { - "type": "string", - "name": "assignees_url" - }, - { - "type": "string", - "name": "blobs_url" - }, - { - "type": "string", - "name": "branches_url" - }, - { - "type": "string", - "name": "collaborators_url" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "commits_url" - }, - { - "type": "string", - "name": "compare_url" - }, - { - "type": "string", - "name": "contents_url" - }, - { - "type": "string", - "name": "contributors_url" - }, - { - "type": "string", - "name": "deployments_url" - }, - { - "type": "string or null", - "name": "description" - }, - { - "type": "string", - "name": "downloads_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "boolean", - "name": "fork" - }, - { - "type": "string", - "name": "forks_url" - }, - { - "type": "string", - "name": "full_name" - }, - { - "type": "string", - "name": "git_commits_url" - }, - { - "type": "string", - "name": "git_refs_url" - }, - { - "type": "string", - "name": "git_tags_url" - }, - { - "type": "string", - "name": "hooks_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "issue_comment_url" - }, - { - "type": "string", - "name": "issue_events_url" - }, - { - "type": "string", - "name": "issues_url" - }, - { - "type": "string", - "name": "keys_url" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "string", - "name": "languages_url" - }, - { - "type": "string", - "name": "merges_url" - }, - { - "type": "string", - "name": "milestones_url" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "notifications_url" - }, - { - "type": "object", - "name": "owner", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "boolean", - "name": "private" - }, - { - "type": "string", - "name": "pulls_url" - }, - { - "type": "string", - "name": "releases_url" - }, - { - "type": "string", - "name": "stargazers_url" - }, - { - "type": "string", - "name": "statuses_url" - }, - { - "type": "string", - "name": "subscribers_url" - }, - { - "type": "string", - "name": "subscription_url" - }, - { - "type": "string", - "name": "tags_url" - }, - { - "type": "string", - "name": "teams_url" - }, - { - "type": "string", - "name": "trees_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "head_sha" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "jobs_url" - }, - { - "type": "string", - "name": "logs_url" - }, - { - "type": "string or null", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "path" - }, - { - "type": "string or null", - "name": "previous_attempt_url" - }, - { - "type": "array of objects", - "name": "pull_requests" - }, - { - "type": "array of objects or null", - "name": "referenced_workflows", - "childParamsGroups": [ - { - "type": "string", - "name": "path", - "isRequired": true - }, - { - "type": "string", - "name": "ref" - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "repository", - "childParamsGroups": [ - { - "type": "string", - "name": "archive_url" - }, - { - "type": "string", - "name": "assignees_url" - }, - { - "type": "string", - "name": "blobs_url" - }, - { - "type": "string", - "name": "branches_url" - }, - { - "type": "string", - "name": "collaborators_url" - }, - { - "type": "string", - "name": "comments_url" - }, - { - "type": "string", - "name": "commits_url" - }, - { - "type": "string", - "name": "compare_url" - }, - { - "type": "string", - "name": "contents_url" - }, - { - "type": "string", - "name": "contributors_url" - }, - { - "type": "string", - "name": "deployments_url" - }, - { - "type": "string or null", - "name": "description" - }, - { - "type": "string", - "name": "downloads_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "boolean", - "name": "fork" - }, - { - "type": "string", - "name": "forks_url" - }, - { - "type": "string", - "name": "full_name" - }, - { - "type": "string", - "name": "git_commits_url" - }, - { - "type": "string", - "name": "git_refs_url" - }, - { - "type": "string", - "name": "git_tags_url" - }, - { - "type": "string", - "name": "hooks_url" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "issue_comment_url" - }, - { - "type": "string", - "name": "issue_events_url" - }, - { - "type": "string", - "name": "issues_url" - }, - { - "type": "string", - "name": "keys_url" - }, - { - "type": "string", - "name": "labels_url" - }, - { - "type": "string", - "name": "languages_url" - }, - { - "type": "string", - "name": "merges_url" - }, - { - "type": "string", - "name": "milestones_url" - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "notifications_url" - }, - { - "type": "object", - "name": "owner", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "boolean", - "name": "private" - }, - { - "type": "string", - "name": "pulls_url" - }, - { - "type": "string", - "name": "releases_url" - }, - { - "type": "string", - "name": "stargazers_url" - }, - { - "type": "string", - "name": "statuses_url" - }, - { - "type": "string", - "name": "subscribers_url" - }, - { - "type": "string", - "name": "subscription_url" - }, - { - "type": "string", - "name": "tags_url" - }, - { - "type": "string", - "name": "teams_url" - }, - { - "type": "string", - "name": "trees_url" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "rerun_url" - }, - { - "type": "integer", - "name": "run_attempt" - }, - { - "type": "integer", - "name": "run_number" - }, - { - "type": "string", - "name": "run_started_at" - }, - { - "type": "string", - "name": "status" - }, - { - "type": "object or null", - "name": "triggering_actor", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id" - }, - { - "type": "string", - "name": "login" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type" - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "updated_at" - }, - { - "type": "string", - "name": "url" - }, - { - "type": "integer", - "name": "workflow_id" - }, - { - "type": "string", - "name": "workflow_url" - } - ] - } + 13, + 52 ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "completed", - "category": "workflow_run" + "action": "completed" }, "in_progress": { - "description": "A workflow run started processing on a runner.", - "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.", "bodyParameters": [ - 103, + 0, 1, 2, 3, 4, 6, - 23, + 13, + 52 + ], + "action": "in_progress" + }, + "requested": { + "bodyParameters": [ + 0, + 1, + 2, + 3, + 4, + 6, + 13, { - "type": "object", "name": "workflow_run", - "in": "body", - "isRequired": true, "childParamsGroups": [ { - "type": "object or null", - "name": "actor", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "artifacts_url", - "isRequired": true - }, - { - "type": "string", - "name": "cancel_url", - "isRequired": true - }, - { - "type": "integer", - "name": "check_suite_id", - "isRequired": true - }, - { - "type": "string", - "name": "check_suite_node_id", - "isRequired": true - }, - { - "type": "string", - "name": "check_suite_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "conclusion", - "isRequired": true, - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - "skipped", - null - ] - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "event", - "isRequired": true - }, - { - "type": "string or null", - "name": "head_branch", - "isRequired": true - }, - { - "type": "object", - "name": "head_commit", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "author", - "description": "Metaproperties for Git author/committer information.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "date" - }, - { - "type": "string or null", - "name": "email", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The git author's name.", - "isRequired": true - }, - { - "type": "string", - "name": "username" - } - ] - }, - { - "type": "object", - "name": "committer", - "description": "Metaproperties for Git author/committer information.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "date" - }, - { - "type": "string or null", - "name": "email", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The git author's name.", - "isRequired": true - }, - { - "type": "string", - "name": "username" - } - ] - }, - { - "type": "string", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "message", - "isRequired": true - }, - { - "type": "string", - "name": "timestamp", - "isRequired": true - }, - { - "type": "string", - "name": "tree_id", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "head_repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "head_sha", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "jobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "logs_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "path", - "isRequired": true - }, - { - "type": "string or null", - "name": "previous_attempt_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "pull_requests", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "number", - "name": "id", - "isRequired": true - }, - { - "type": "number", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "array of objects or null", - "name": "referenced_workflows", - "childParamsGroups": [ - { - "type": "string", - "name": "path", - "isRequired": true - }, - { - "type": "string", - "name": "ref" - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "rerun_url", - "isRequired": true - }, - { - "type": "integer", - "name": "run_attempt", - "isRequired": true - }, - { - "type": "integer", - "name": "run_number", - "isRequired": true - }, - { - "type": "string", - "name": "run_started_at", - "isRequired": true - }, - { - "type": "string", - "name": "status", - "isRequired": true, - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "pending" - ] - }, - { - "type": "object or null", - "name": "triggering_actor", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "integer", - "name": "workflow_id", - "isRequired": true - }, - { - "type": "string", - "name": "workflow_url", - "isRequired": true - }, - { - "type": "object", "name": "actor", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", + "name": "deleted" + }, + { + "name": "email" + }, + { "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", + "name": "name" + }, + { "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "artifacts_url" }, { - "type": "string", "name": "cancel_url" }, { - "type": "integer", "name": "check_suite_id" }, { - "type": "string", "name": "check_suite_node_id" }, { - "type": "string", "name": "check_suite_url" }, { - "type": "string or null", - "name": "conclusion", - "isRequired": true, - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "skipped", - "stale" - ] + "name": "conclusion" }, { - "type": "string", "name": "created_at" }, { - "type": "string", "name": "event" }, { - "type": "string or null", "name": "head_branch" }, { - "type": "object", "name": "head_commit", "childParamsGroups": [ { - "type": "object", "name": "author", + "description": "Metaproperties for Git author/committer information.", "childParamsGroups": [ { - "type": "string", + "name": "date" + }, + { "name": "email" }, { - "type": "string", - "name": "name" + "name": "name", + "description": "The git author's name." + }, + { + "name": "username" } ] }, { - "type": "object", "name": "committer", + "description": "Metaproperties for Git author/committer information.", "childParamsGroups": [ { - "type": "string", + "name": "date" + }, + { "name": "email" }, { - "type": "string", - "name": "name" + "name": "name", + "description": "The git author's name." + }, + { + "name": "username" } ] }, { - "type": "string", "name": "id" }, { - "type": "string", "name": "message" }, { - "type": "string", "name": "timestamp" }, { - "type": "string", "name": "tree_id" } ] }, { - "type": "object", "name": "head_repository", "childParamsGroups": [ { - "type": "string", "name": "archive_url" }, { - "type": "string", "name": "assignees_url" }, { - "type": "string", "name": "blobs_url" }, { - "type": "string", "name": "branches_url" }, { - "type": "string", "name": "collaborators_url" }, { - "type": "string", "name": "comments_url" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "compare_url" }, { - "type": "string", "name": "contents_url" }, { - "type": "string", "name": "contributors_url" }, { - "type": "string", "name": "deployments_url" }, { - "type": "string or null", "name": "description" }, { - "type": "string", "name": "downloads_url" }, { - "type": "string", "name": "events_url" }, { - "type": "boolean", "name": "fork" }, { - "type": "string", "name": "forks_url" }, { - "type": "string", "name": "full_name" }, { - "type": "string", "name": "git_commits_url" }, { - "type": "string", "name": "git_refs_url" }, { - "type": "string", "name": "git_tags_url" }, { - "type": "string", "name": "hooks_url" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id" + "name": "id", + "description": "Unique identifier of the repository" }, { - "type": "string", "name": "issue_comment_url" }, { - "type": "string", "name": "issue_events_url" }, { - "type": "string", "name": "issues_url" }, { - "type": "string", "name": "keys_url" }, { - "type": "string", "name": "labels_url" }, { - "type": "string", "name": "languages_url" }, { - "type": "string", "name": "merges_url" }, { - "type": "string", "name": "milestones_url" }, { - "type": "string or null", - "name": "name" + "name": "name", + "description": "The name of the repository." }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "notifications_url" }, { - "type": "object", "name": "owner", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", + "name": "deleted" + }, + { + "name": "email" + }, + { "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", + "name": "name" + }, + { "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "boolean", - "name": "private" + "name": "private", + "description": "Whether the repository is private or public." }, { - "type": "string", "name": "pulls_url" }, { - "type": "string", "name": "releases_url" }, { - "type": "string", "name": "stargazers_url" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "subscribers_url" }, { - "type": "string", "name": "subscription_url" }, { - "type": "string", "name": "tags_url" }, { - "type": "string", "name": "teams_url" }, { - "type": "string", "name": "trees_url" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "head_sha" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "jobs_url" }, { - "type": "string", "name": "logs_url" }, { - "type": "string or null", "name": "name" }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "path" }, { - "type": "string or null", "name": "previous_attempt_url" }, { - "type": "array of objects", - "name": "pull_requests" - }, - { - "type": "array of objects or null", - "name": "referenced_workflows", + "name": "pull_requests", "childParamsGroups": [ { - "type": "string", - "name": "path", - "isRequired": true + "name": "base", + "childParamsGroups": [ + { + "name": "ref" + }, + { + "name": "repo", + "childParamsGroups": [ + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "url" + } + ] + }, + { + "name": "sha" + } + ] }, { - "type": "string", - "name": "ref" + "name": "head", + "childParamsGroups": [ + { + "name": "ref" + }, + { + "name": "repo", + "childParamsGroups": [ + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "url" + } + ] + }, + { + "name": "sha" + } + ] }, { - "type": "string", - "name": "sha", - "isRequired": true + "name": "id" + }, + { + "name": "number" + }, + { + "name": "url" + } + ] + }, + { + "name": "referenced_workflows", + "childParamsGroups": [ + { + "name": "path" + }, + { + "name": "ref" + }, + { + "name": "sha" } ] }, { - "type": "object", "name": "repository", "childParamsGroups": [ { - "type": "string", "name": "archive_url" }, { - "type": "string", "name": "assignees_url" }, { - "type": "string", "name": "blobs_url" }, { - "type": "string", "name": "branches_url" }, { - "type": "string", "name": "collaborators_url" }, { - "type": "string", "name": "comments_url" }, { - "type": "string", "name": "commits_url" }, { - "type": "string", "name": "compare_url" }, { - "type": "string", "name": "contents_url" }, { - "type": "string", "name": "contributors_url" }, { - "type": "string", "name": "deployments_url" }, { - "type": "string or null", "name": "description" }, { - "type": "string", "name": "downloads_url" }, { - "type": "string", "name": "events_url" }, { - "type": "boolean", "name": "fork" }, { - "type": "string", "name": "forks_url" }, { - "type": "string", "name": "full_name" }, { - "type": "string", "name": "git_commits_url" }, { - "type": "string", "name": "git_refs_url" }, { - "type": "string", "name": "git_tags_url" }, { - "type": "string", "name": "hooks_url" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", - "name": "id" + "name": "id", + "description": "Unique identifier of the repository" }, { - "type": "string", "name": "issue_comment_url" }, { - "type": "string", "name": "issue_events_url" }, { - "type": "string", "name": "issues_url" }, { - "type": "string", "name": "keys_url" }, { - "type": "string", "name": "labels_url" }, { - "type": "string", "name": "languages_url" }, { - "type": "string", "name": "merges_url" }, { - "type": "string", "name": "milestones_url" }, { - "type": "string", - "name": "name" + "name": "name", + "description": "The name of the repository." }, { - "type": "string", "name": "node_id" }, { - "type": "string", "name": "notifications_url" }, { - "type": "object", "name": "owner", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", + "name": "deleted" + }, + { + "name": "email" + }, + { "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", + "name": "name" + }, + { "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "boolean", - "name": "private" + "name": "private", + "description": "Whether the repository is private or public." }, { - "type": "string", "name": "pulls_url" }, { - "type": "string", "name": "releases_url" }, { - "type": "string", "name": "stargazers_url" }, { - "type": "string", "name": "statuses_url" }, { - "type": "string", "name": "subscribers_url" }, { - "type": "string", "name": "subscription_url" }, { - "type": "string", "name": "tags_url" }, { - "type": "string", "name": "teams_url" }, { - "type": "string", "name": "trees_url" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "rerun_url" }, { - "type": "integer", "name": "run_attempt" }, { - "type": "integer", "name": "run_number" }, { - "type": "string", "name": "run_started_at" }, { - "type": "string", "name": "status" }, { - "type": "object", "name": "triggering_actor", "childParamsGroups": [ { - "type": "string", "name": "avatar_url" }, { - "type": "string", + "name": "deleted" + }, + { + "name": "email" + }, + { "name": "events_url" }, { - "type": "string", "name": "followers_url" }, { - "type": "string", "name": "following_url" }, { - "type": "string", "name": "gists_url" }, { - "type": "string", "name": "gravatar_id" }, { - "type": "string", "name": "html_url" }, { - "type": "integer", "name": "id" }, { - "type": "string", "name": "login" }, { - "type": "string", + "name": "name" + }, + { "name": "node_id" }, { - "type": "string", "name": "organizations_url" }, { - "type": "string", "name": "received_events_url" }, { - "type": "string", "name": "repos_url" }, { - "type": "boolean", "name": "site_admin" }, { - "type": "string", "name": "starred_url" }, { - "type": "string", "name": "subscriptions_url" }, { - "type": "string", "name": "type" }, { - "type": "string", "name": "url" } ] }, { - "type": "string", "name": "updated_at" }, { - "type": "string", "name": "url" }, { - "type": "integer", "name": "workflow_id" }, { - "type": "string", "name": "workflow_url" + }, + { + "name": "display_title" } ] } ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "in_progress", - "category": "workflow_run" - }, - "requested": { - "description": "A workflow run was triggered.", - "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.", - "bodyParameters": [ - 13, - 1, - 2, - 3, - 4, - 6, - 23, - { - "type": "object", - "name": "workflow_run", - "in": "body", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object or null", - "name": "actor", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "artifacts_url", - "isRequired": true - }, - { - "type": "string", - "name": "cancel_url", - "isRequired": true - }, - { - "type": "integer", - "name": "check_suite_id", - "isRequired": true - }, - { - "type": "string", - "name": "check_suite_node_id", - "isRequired": true - }, - { - "type": "string", - "name": "check_suite_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "conclusion", - "isRequired": true, - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null, - "skipped", - "startup_failure" - ] - }, - { - "type": "string", - "name": "created_at", - "isRequired": true - }, - { - "type": "string", - "name": "event", - "isRequired": true - }, - { - "type": "string or null", - "name": "head_branch", - "isRequired": true - }, - { - "type": "object", - "name": "head_commit", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "author", - "description": "Metaproperties for Git author/committer information.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "date" - }, - { - "type": "string or null", - "name": "email", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The git author's name.", - "isRequired": true - }, - { - "type": "string", - "name": "username" - } - ] - }, - { - "type": "object", - "name": "committer", - "description": "Metaproperties for Git author/committer information.", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "date" - }, - { - "type": "string or null", - "name": "email", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The git author's name.", - "isRequired": true - }, - { - "type": "string", - "name": "username" - } - ] - }, - { - "type": "string", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "message", - "isRequired": true - }, - { - "type": "string", - "name": "timestamp", - "isRequired": true - }, - { - "type": "string", - "name": "tree_id", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "head_repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "head_sha", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "jobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "logs_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "path", - "isRequired": true - }, - { - "type": "string or null", - "name": "previous_attempt_url", - "isRequired": true - }, - { - "type": "array of objects", - "name": "pull_requests", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "base", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "head", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "ref", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "number", - "name": "id", - "isRequired": true - }, - { - "type": "number", - "name": "number", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "array of objects or null", - "name": "referenced_workflows", - "childParamsGroups": [ - { - "type": "string", - "name": "path", - "isRequired": true - }, - { - "type": "string", - "name": "ref" - }, - { - "type": "string", - "name": "sha", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "repository", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "archive_url", - "isRequired": true - }, - { - "type": "string", - "name": "assignees_url", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "isRequired": true - }, - { - "type": "string", - "name": "deployments_url", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "isRequired": true - }, - { - "type": "string", - "name": "downloads_url", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository", - "isRequired": true - }, - { - "type": "string", - "name": "issue_comment_url", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "isRequired": true - }, - { - "type": "string", - "name": "merges_url", - "isRequired": true - }, - { - "type": "string", - "name": "milestones_url", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "isRequired": true - }, - { - "type": "object or null", - "name": "owner", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.", - "isRequired": true - }, - { - "type": "string", - "name": "pulls_url", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "isRequired": true - }, - { - "type": "string", - "name": "stargazers_url", - "isRequired": true - }, - { - "type": "string", - "name": "statuses_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscribers_url", - "isRequired": true - }, - { - "type": "string", - "name": "subscription_url", - "isRequired": true - }, - { - "type": "string", - "name": "tags_url", - "isRequired": true - }, - { - "type": "string", - "name": "teams_url", - "isRequired": true - }, - { - "type": "string", - "name": "trees_url", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "rerun_url", - "isRequired": true - }, - { - "type": "integer", - "name": "run_attempt", - "isRequired": true - }, - { - "type": "integer", - "name": "run_number", - "isRequired": true - }, - { - "type": "string", - "name": "run_started_at", - "isRequired": true - }, - { - "type": "string", - "name": "status", - "isRequired": true, - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "pending", - "waiting" - ] - }, - { - "type": "object or null", - "name": "triggering_actor", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url" - }, - { - "type": "boolean", - "name": "deleted" - }, - { - "type": "string or null", - "name": "email" - }, - { - "type": "string", - "name": "events_url" - }, - { - "type": "string", - "name": "followers_url" - }, - { - "type": "string", - "name": "following_url" - }, - { - "type": "string", - "name": "gists_url" - }, - { - "type": "string", - "name": "gravatar_id" - }, - { - "type": "string", - "name": "html_url" - }, - { - "type": "integer", - "name": "id", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "isRequired": true - }, - { - "type": "string", - "name": "name" - }, - { - "type": "string", - "name": "node_id" - }, - { - "type": "string", - "name": "organizations_url" - }, - { - "type": "string", - "name": "received_events_url" - }, - { - "type": "string", - "name": "repos_url" - }, - { - "type": "boolean", - "name": "site_admin" - }, - { - "type": "string", - "name": "starred_url" - }, - { - "type": "string", - "name": "subscriptions_url" - }, - { - "type": "string", - "name": "type", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url" - } - ] - }, - { - "type": "string", - "name": "updated_at", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "isRequired": true - }, - { - "type": "integer", - "name": "workflow_id", - "isRequired": true - }, - { - "type": "string", - "name": "workflow_url", - "isRequired": true - }, - { - "type": "string", - "name": "display_title", - "isRequired": true - } - ] - } - ], - "availability": [ - "business", - "repository", - "organization", - "app" - ], - "action": "requested", - "category": "workflow_run" + "action": "requested" } } } \ No newline at end of file diff --git a/languageservice/src/context-providers/matrix.test.ts b/languageservice/src/context-providers/matrix.test.ts index 7c5507d..03c0a56 100644 --- a/languageservice/src/context-providers/matrix.test.ts +++ b/languageservice/src/context-providers/matrix.test.ts @@ -64,7 +64,7 @@ describe("matrix context", () => { expect(workflowContext.job).toBeUndefined(); const context = getMatrixContext(workflowContext, Mode.Validation); - expect(context).toEqual(new DescriptionDictionary()); + expect(context).toEqual(new data.Null()); }); it("strategy not defined", () => { @@ -73,7 +73,7 @@ describe("matrix context", () => { expect(workflowContext.job!.strategy).toBeUndefined(); const context = getMatrixContext(workflowContext, Mode.Validation); - expect(context).toEqual(new DescriptionDictionary()); + expect(context).toEqual(new data.Null()); }); it("strategy is not a mapping token", () => { @@ -81,7 +81,7 @@ describe("matrix context", () => { expect(workflowContext.job!.strategy).toBeDefined(); const context = getMatrixContext(workflowContext, Mode.Validation); - expect(context).toEqual(new DescriptionDictionary()); + expect(context).toEqual(new data.Null()); }); it("matrix is not defined", () => { diff --git a/languageservice/src/context-providers/matrix.ts b/languageservice/src/context-providers/matrix.ts index 41c78cf..9906d4c 100644 --- a/languageservice/src/context-providers/matrix.ts +++ b/languageservice/src/context-providers/matrix.ts @@ -10,7 +10,8 @@ export function getMatrixContext(workflowContext: WorkflowContext, mode: Mode): // https://docs.github.com/en/actions/learn-github-actions/contexts#matrix-context const strategy = workflowContext.job?.strategy ?? workflowContext.reusableWorkflowJob?.strategy; if (!strategy || !isMapping(strategy)) { - return new DescriptionDictionary(); + // No strategy defined - matrix is null at runtime (not empty object) + return new data.Null(); } const matrix = strategy.find("matrix"); diff --git a/languageservice/src/context-providers/needs.test.ts b/languageservice/src/context-providers/needs.test.ts index 88baecf..8cad20a 100644 --- a/languageservice/src/context-providers/needs.test.ts +++ b/languageservice/src/context-providers/needs.test.ts @@ -111,7 +111,7 @@ jobs: on: push jobs: a: - uses: ./reusable-workflow-with-outputs.yaml + uses: ./.github/workflows/reusable-workflow-with-outputs.yaml b: needs: [a] diff --git a/languageservice/src/context-providers/steps.test.ts b/languageservice/src/context-providers/steps.test.ts new file mode 100644 index 0000000..ad0795f --- /dev/null +++ b/languageservice/src/context-providers/steps.test.ts @@ -0,0 +1,78 @@ +/* eslint-disable @typescript-eslint/no-non-null-assertion */ +import {DescriptionDictionary, isDescriptionDictionary} from "@actions/expressions"; +import {WorkflowContext} from "../context/workflow-context"; +import {getStepsContext} from "./steps"; + +function createWorkflowContext(stepIds: string[], currentStepId?: string): WorkflowContext { + return { + job: { + steps: stepIds.map(id => ({id})) + }, + step: currentStepId ? {id: currentStepId} : undefined + } as WorkflowContext; +} + +describe("steps context", () => { + it("returns empty dictionary when no job", () => { + const workflowContext = {} as WorkflowContext; + const context = getStepsContext(workflowContext); + expect(context.pairs().length).toBe(0); + }); + + it("returns empty dictionary when no steps", () => { + const workflowContext = {job: {}} as WorkflowContext; + const context = getStepsContext(workflowContext); + expect(context.pairs().length).toBe(0); + }); + + it("includes steps with user-defined ids", () => { + const workflowContext = createWorkflowContext(["step-a", "step-b"]); + const context = getStepsContext(workflowContext); + + expect(context.get("step-a")).toBeDefined(); + expect(context.get("step-b")).toBeDefined(); + }); + + it("excludes generated step ids (starting with __)", () => { + const workflowContext = createWorkflowContext(["step-a", "__generated"]); + const context = getStepsContext(workflowContext); + + expect(context.get("step-a")).toBeDefined(); + expect(context.get("__generated")).toBeUndefined(); + }); + + it("excludes current step and later steps", () => { + const workflowContext = createWorkflowContext(["step-a", "step-b", "step-c"], "step-b"); + const context = getStepsContext(workflowContext); + + expect(context.get("step-a")).toBeDefined(); + expect(context.get("step-b")).toBeUndefined(); + expect(context.get("step-c")).toBeUndefined(); + }); + + describe("step outputs", () => { + it("outputs is a dictionary, not null", () => { + const workflowContext = createWorkflowContext(["step-a"]); + const context = getStepsContext(workflowContext); + + const stepContext = context.get("step-a"); + expect(stepContext).toBeDefined(); + expect(isDescriptionDictionary(stepContext!)).toBe(true); + + const outputs = (stepContext as DescriptionDictionary).get("outputs"); + expect(outputs).toBeDefined(); + expect(isDescriptionDictionary(outputs!)).toBe(true); + }); + + it("outputs is marked incomplete to allow dynamic outputs", () => { + const workflowContext = createWorkflowContext(["step-a"]); + const context = getStepsContext(workflowContext); + + const stepContext = context.get("step-a") as DescriptionDictionary; + const outputs = stepContext.get("outputs") as DescriptionDictionary; + + // Outputs should be incomplete since we can't know what outputs a step will produce + expect(outputs.complete).toBe(false); + }); + }); +}); diff --git a/languageservice/src/context-providers/steps.ts b/languageservice/src/context-providers/steps.ts index 7f3c657..8b0fe54 100644 --- a/languageservice/src/context-providers/steps.ts +++ b/languageservice/src/context-providers/steps.ts @@ -31,7 +31,10 @@ function stepContext(): DescriptionDictionary { // https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context const d = new DescriptionDictionary(); - d.add("outputs", new data.Null(), getDescription("steps", "outputs")); + // Step outputs are dynamic - actions can generate outputs based on their inputs + const outputs = new DescriptionDictionary(); + outputs.complete = false; + d.add("outputs", outputs, getDescription("steps", "outputs")); // Can be "success", "failure", "cancelled", or "skipped" d.add("conclusion", new data.Null(), getDescription("steps", "conclusion")); diff --git a/languageservice/src/context-providers/strategy.test.ts b/languageservice/src/context-providers/strategy.test.ts new file mode 100644 index 0000000..f129387 --- /dev/null +++ b/languageservice/src/context-providers/strategy.test.ts @@ -0,0 +1,126 @@ +import {data} from "@actions/expressions"; +import {Job} from "@actions/workflow-parser/model/workflow-template"; +import {BooleanToken} from "@actions/workflow-parser/templates/tokens/boolean-token"; +import {MappingToken} from "@actions/workflow-parser/templates/tokens/mapping-token"; +import {NumberToken} from "@actions/workflow-parser/templates/tokens/number-token"; +import {StringToken} from "@actions/workflow-parser/templates/tokens/string-token"; +import {TemplateToken} from "@actions/workflow-parser/templates/tokens/template-token"; +import {WorkflowContext} from "../context/workflow-context"; +import {getStrategyContext} from "./strategy"; + +function stringToToken(value: string) { + return new StringToken(undefined, undefined, value, undefined); +} + +function boolToToken(value: boolean) { + return new BooleanToken(undefined, undefined, value, undefined); +} + +function numberToToken(value: number) { + return new NumberToken(undefined, undefined, value, undefined); +} + +function contextFromStrategy(strategy?: TemplateToken) { + return { + job: { + strategy: strategy + } + } as WorkflowContext; +} + +describe("strategy context", () => { + describe("no strategy defined", () => { + it("returns defaults when job is undefined", () => { + const workflowContext = {} as WorkflowContext; + + const context = getStrategyContext(workflowContext); + + expect(context.get("fail-fast")).toEqual(new data.BooleanData(true)); + expect(context.get("job-index")).toEqual(new data.NumberData(0)); + expect(context.get("job-total")).toEqual(new data.NumberData(1)); + expect(context.get("max-parallel")).toEqual(new data.NumberData(1)); + }); + + it("returns defaults when strategy is undefined", () => { + const job = {} as Job; + const workflowContext = {job} as WorkflowContext; + + const context = getStrategyContext(workflowContext); + + expect(context.get("fail-fast")).toEqual(new data.BooleanData(true)); + expect(context.get("job-index")).toEqual(new data.NumberData(0)); + expect(context.get("job-total")).toEqual(new data.NumberData(1)); + expect(context.get("max-parallel")).toEqual(new data.NumberData(1)); + }); + + it("returns defaults when strategy is not a mapping", () => { + const workflowContext = contextFromStrategy(stringToToken("hello")); + + const context = getStrategyContext(workflowContext); + + expect(context.get("fail-fast")).toEqual(new data.BooleanData(true)); + expect(context.get("job-index")).toEqual(new data.NumberData(0)); + expect(context.get("job-total")).toEqual(new data.NumberData(1)); + expect(context.get("max-parallel")).toEqual(new data.NumberData(1)); + }); + }); + + describe("strategy defined with partial properties", () => { + it("uses specified fail-fast, defaults for others", () => { + const strategy = new MappingToken(undefined, undefined, undefined); + strategy.add(stringToToken("fail-fast"), boolToToken(false)); + const workflowContext = contextFromStrategy(strategy); + + const context = getStrategyContext(workflowContext); + + expect(context.get("fail-fast")).toEqual(new data.BooleanData(false)); + expect(context.get("job-index")).toEqual(new data.NumberData(0)); + expect(context.get("job-total")).toEqual(new data.NumberData(1)); + expect(context.get("max-parallel")).toEqual(new data.NumberData(1)); + }); + + it("uses specified max-parallel, defaults for others", () => { + const strategy = new MappingToken(undefined, undefined, undefined); + strategy.add(stringToToken("max-parallel"), numberToToken(5)); + const workflowContext = contextFromStrategy(strategy); + + const context = getStrategyContext(workflowContext); + + expect(context.get("fail-fast")).toEqual(new data.BooleanData(true)); + expect(context.get("job-index")).toEqual(new data.NumberData(0)); + expect(context.get("job-total")).toEqual(new data.NumberData(1)); + expect(context.get("max-parallel")).toEqual(new data.NumberData(5)); + }); + + it("only has matrix defined, all strategy properties use defaults", () => { + const strategy = new MappingToken(undefined, undefined, undefined); + const matrix = new MappingToken(undefined, undefined, undefined); + strategy.add(stringToToken("matrix"), matrix); + const workflowContext = contextFromStrategy(strategy); + + const context = getStrategyContext(workflowContext); + + expect(context.get("fail-fast")).toEqual(new data.BooleanData(true)); + expect(context.get("job-index")).toEqual(new data.NumberData(0)); + expect(context.get("job-total")).toEqual(new data.NumberData(1)); + expect(context.get("max-parallel")).toEqual(new data.NumberData(1)); + }); + }); + + describe("strategy with all properties defined", () => { + it("uses all specified values", () => { + const strategy = new MappingToken(undefined, undefined, undefined); + strategy.add(stringToToken("fail-fast"), boolToToken(false)); + strategy.add(stringToToken("max-parallel"), numberToToken(3)); + const workflowContext = contextFromStrategy(strategy); + + const context = getStrategyContext(workflowContext); + + expect(context.get("fail-fast")).toEqual(new data.BooleanData(false)); + // job-index and job-total are runtime values, not specified in YAML + expect(context.get("job-index")).toEqual(new data.NumberData(0)); + expect(context.get("job-total")).toEqual(new data.NumberData(1)); + expect(context.get("max-parallel")).toEqual(new data.NumberData(3)); + }); + }); +}); diff --git a/languageservice/src/context-providers/strategy.ts b/languageservice/src/context-providers/strategy.ts index aa59936..e89ae24 100644 --- a/languageservice/src/context-providers/strategy.ts +++ b/languageservice/src/context-providers/strategy.ts @@ -3,15 +3,24 @@ import {isMapping, isScalar, isString} from "@actions/workflow-parser"; import {WorkflowContext} from "../context/workflow-context"; import {scalarToData} from "../utils/scalar-to-data"; +// Default strategy values when no strategy block is defined +const DEFAULT_STRATEGY = { + "fail-fast": new data.BooleanData(true), + "job-index": new data.NumberData(0), + "job-total": new data.NumberData(1), + "max-parallel": new data.NumberData(1) +}; + export function getStrategyContext(workflowContext: WorkflowContext): DescriptionDictionary { // https://docs.github.com/en/actions/learn-github-actions/contexts#strategy-context const keys = ["fail-fast", "job-index", "job-total", "max-parallel"]; const strategy = workflowContext.job?.strategy ?? workflowContext.reusableWorkflowJob?.strategy; if (!strategy || !isMapping(strategy)) { + // No strategy defined - return defaults that match runtime behavior return new DescriptionDictionary( ...keys.map(key => { - return {key, value: new data.Null()}; + return {key, value: DEFAULT_STRATEGY[key as keyof typeof DEFAULT_STRATEGY]}; }) ); } @@ -31,7 +40,8 @@ export function getStrategyContext(workflowContext: WorkflowContext): Descriptio for (const key of keys) { if (!strategyContext.get(key)) { - strategyContext.add(key, new data.Null()); + // Use default value for missing properties + strategyContext.add(key, DEFAULT_STRATEGY[key as keyof typeof DEFAULT_STRATEGY]); } } diff --git a/languageservice/src/expression-hover/expression-pos.test.ts b/languageservice/src/expression-hover/expression-pos.test.ts index 9bcc6b7..47e538c 100644 --- a/languageservice/src/expression-hover/expression-pos.test.ts +++ b/languageservice/src/expression-hover/expression-pos.test.ts @@ -69,6 +69,59 @@ jobs: } }); }); + + it("job-level if condition without status function (gets wrapped)", () => { + expect( + testMapToExpressionPos(`on: push +jobs: + build: + if: git|hub.event_name == 'push' + runs-on: ubuntu-latest`) + ).toEqual({ + expression: "success() && (github.event_name == 'push')", + position: {line: 0, column: 17}, // "success() && (".length + 3 = 17 + documentRange: { + start: {line: 3, character: 8}, + end: {line: 3, character: 35} // End of the original condition in the document + } + }); + }); + + it("job-level if condition with status function (not wrapped)", () => { + expect( + testMapToExpressionPos(`on: push +jobs: + build: + if: alw|ays() + runs-on: ubuntu-latest`) + ).toEqual({ + expression: "always()", + position: {line: 0, column: 3}, + documentRange: { + start: {line: 3, character: 8}, + end: {line: 3, character: 16} + } + }); + }); + + it("step-level if condition without status function (gets wrapped)", () => { + expect( + testMapToExpressionPos(`on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - if: steps.test.outc|ome == 'success' + run: echo hello`) + ).toEqual({ + expression: "success() && (steps.test.outcome == 'success')", + position: {line: 0, column: 29}, // Actual position in the wrapped expression + documentRange: { + start: {line: 5, character: 12}, + end: {line: 5, character: 43} // End of the original condition in the document + } + }); + }); }); function testMapToExpressionPos(input: string) { diff --git a/languageservice/src/expression-hover/expression-pos.ts b/languageservice/src/expression-hover/expression-pos.ts index 2cde489..01c0156 100644 --- a/languageservice/src/expression-hover/expression-pos.ts +++ b/languageservice/src/expression-hover/expression-pos.ts @@ -1,6 +1,7 @@ import {Pos} from "@actions/expressions/lexer"; +import {ensureStatusFunction} from "@actions/workflow-parser/model/converter/if-condition"; import {TemplateToken} from "@actions/workflow-parser/templates/tokens/template-token"; -import {isBasicExpression} from "@actions/workflow-parser/templates/tokens/type-guards"; +import {isBasicExpression, isString} from "@actions/workflow-parser/templates/tokens/type-guards"; import {Position, Range as LSPRange} from "vscode-languageserver-textdocument"; import {mapRange} from "../utils/range"; import {posWithinRange} from "./pos-range"; @@ -16,12 +17,52 @@ export type ExpressionPos = { documentRange: LSPRange; }; +/** + * Maps a document position to an expression position for hover/completion features. + * + * This handles both explicit expressions (with ${{ }}) and implicit expressions (like if conditions). + * For if conditions without ${{ }}, this applies the same conversion as the parser's convertToIfCondition, + * wrapping them in `success() && (...)` when no status function is present. + * + * @param token The template token at the position + * @param position The position in the document + * @returns Expression and adjusted position, or undefined if not an expression + */ export function mapToExpressionPos(token: TemplateToken, position: Position): ExpressionPos | undefined { const pos: Pos = { line: position.line + 1, column: position.character + 1 }; + // Handle if conditions that are string tokens (job-if, step-if, snapshot-if) + const definitionKey = token.definition?.key; + if ( + isString(token) && + token.range && + (definitionKey === "job-if" || definitionKey === "step-if" || definitionKey === "snapshot-if") + ) { + const condition = token.value.trim(); + if (condition) { + // Ensure the condition has a status function, wrapping if needed + const finalCondition = ensureStatusFunction(condition, token.definitionInfo); + + const exprRange = mapRange(token.range); + + // Calculate offset: find where the original condition appears in the final expression + // If wrapped, it will be after "success() && (", otherwise it's at position 0 + const offset = finalCondition.indexOf(condition); + + return { + expression: finalCondition, + position: { + line: pos.line - exprRange.start.line - 1, + column: pos.column - exprRange.start.character - 1 + offset + }, + documentRange: exprRange + }; + } + } + if (!isBasicExpression(token)) { return undefined; } diff --git a/languageservice/src/hover.expressions.test.ts b/languageservice/src/hover.expressions.test.ts index 8b5efc2..a0b556f 100644 --- a/languageservice/src/hover.expressions.test.ts +++ b/languageservice/src/hover.expressions.test.ts @@ -155,8 +155,8 @@ jobs: contents: "Causes the step to always execute, and returns `true`, even when canceled. The `always` expression is best used at the step level or on tasks that you expect to run even when a job is canceled. For example, you can use `always` to send logs even when a job is canceled.", range: { - start: {line: 3, character: 11}, - end: {line: 3, character: 17} + start: {line: 3, character: 8}, + end: {line: 3, character: 14} } }); }); diff --git a/languageservice/src/hover.reusable-workflow.test.ts b/languageservice/src/hover.reusable-workflow.test.ts index a8d9459..d31330d 100644 --- a/languageservice/src/hover.reusable-workflow.test.ts +++ b/languageservice/src/hover.reusable-workflow.test.ts @@ -14,7 +14,7 @@ on: push jobs: build: - uses: ./reusable-workflow-with-inputs.yaml + uses: ./.github/workflows/reusable-workflow-with-inputs.yaml with: us|ername: `; @@ -31,7 +31,7 @@ on: push jobs: build: - uses: ./reusable-workflow-with-inputs-no-description.yaml + uses: ./.github/workflows/reusable-workflow-with-inputs-no-description.yaml with: us|ername: `; @@ -48,7 +48,7 @@ on: push jobs: build: - uses: ./reusable-workflow-with-outputs.yaml + uses: ./.github/workflows/reusable-workflow-with-outputs.yaml echo_outputs: runs-on: ubuntu-latest needs: build diff --git a/languageservice/src/hover.test.ts b/languageservice/src/hover.test.ts index 0ac2047..b49ae0d 100644 --- a/languageservice/src/hover.test.ts +++ b/languageservice/src/hover.test.ts @@ -110,11 +110,8 @@ jobs: `; const result = await hover(...getPositionFromCursor(input)); expect(result).not.toBeUndefined(); - expect(result?.contents).toEqual( - "Runs at 0 and 30 minutes past the hour, at 00:00 and 12:00\n\n" + - "Actions schedules run at most every 5 minutes. " + - "[Learn more](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#onschedule)" - ); + // Cron description is now shown via diagnostics, not hover + expect(result?.contents).toEqual(""); }); it("on a cron mapping key", async () => { diff --git a/languageservice/src/hover.ts b/languageservice/src/hover.ts index 4ab8ed6..2102ced 100644 --- a/languageservice/src/hover.ts +++ b/languageservice/src/hover.ts @@ -2,11 +2,9 @@ import {data, DescriptionDictionary, Parser} from "@actions/expressions"; import {FunctionDefinition, FunctionInfo} from "@actions/expressions/funcs/info"; import {Lexer} from "@actions/expressions/lexer"; import {ErrorPolicy} from "@actions/workflow-parser/model/convert"; -import {getCronDescription} from "@actions/workflow-parser/model/converter/cron"; import {splitAllowedContext} from "@actions/workflow-parser/templates/allowed-context"; -import {StringToken} from "@actions/workflow-parser/templates/tokens/string-token"; import {TemplateToken} from "@actions/workflow-parser/templates/tokens/template-token"; -import {isBasicExpression, isString} from "@actions/workflow-parser/templates/tokens/type-guards"; +import {isBasicExpression} from "@actions/workflow-parser/templates/tokens/type-guards"; import {File} from "@actions/workflow-parser/workflows/file"; import {FileProvider} from "@actions/workflow-parser/workflows/file-provider"; import {Position, TextDocument} from "vscode-languageserver-textdocument"; @@ -23,7 +21,7 @@ import {ExpressionPos, mapToExpressionPos} from "./expression-hover/expression-p import {HoverVisitor} from "./expression-hover/visitor"; import {info} from "./log"; import {isPotentiallyExpression} from "./utils/expression-detection"; -import {findToken, TokenResult} from "./utils/find-token"; +import {findToken} from "./utils/find-token"; import {mapRange} from "./utils/range"; import {fetchOrConvertWorkflowTemplate, fetchOrParseWorkflow} from "./utils/workflow-cache"; @@ -89,17 +87,6 @@ export async function hover(document: TextDocument, position: Position, config?: info(`Calculating hover for token with definition ${token.definition.key}`); - if (tokenResult.parent && isCronMappingValue(tokenResult)) { - const tokenValue = (token as StringToken).value; - const description = getCronDescription(tokenValue); - if (description) { - return { - contents: description, - range: mapRange(token.range) - } satisfies Hover; - } - } - if (tokenResult.parent && isReusableWorkflowJobInput(tokenResult)) { let description = getReusableWorkflowInputDescription(workflowContext, tokenResult); description = appendContext(description, token.definitionInfo?.allowedContext); @@ -156,15 +143,6 @@ async function getDescription( return description || defaultDescription; } -function isCronMappingValue(tokenResult: TokenResult): boolean { - return ( - tokenResult.parent?.definition?.key === "cron-mapping" && - !!tokenResult.token && - isString(tokenResult.token) && - tokenResult.token.value !== "cron" - ); -} - function expressionHover( exprPos: ExpressionPos, context: DescriptionDictionary, diff --git a/languageservice/src/test-utils/test-file-provider.ts b/languageservice/src/test-utils/test-file-provider.ts index 966d9f7..40e41aa 100644 --- a/languageservice/src/test-utils/test-file-provider.ts +++ b/languageservice/src/test-utils/test-file-provider.ts @@ -5,9 +5,9 @@ export const testFileProvider: FileProvider = { // eslint-disable-next-line @typescript-eslint/require-await getFileContent: async ref => { switch (fileIdentifier(ref)) { - case "monalisa/octocat/workflow.yaml@main": + case "monalisa/octocat/.github/workflows/workflow.yaml@main": return { - name: "monalisa/octocat/workflow.yaml", + name: "monalisa/octocat/.github/workflows/workflow.yaml", content: ` on: workflow_call jobs: @@ -31,9 +31,9 @@ jobs: ` }; - case "./reusable-workflow.yaml": + case "./.github/workflows/reusable-workflow.yaml": return { - name: "reusable-workflow.yaml", + name: ".github/workflows/reusable-workflow.yaml", content: ` on: workflow_call jobs: @@ -44,9 +44,9 @@ jobs: ` }; - case "./reusable-workflow-with-inputs.yaml": + case "./.github/workflows/reusable-workflow-with-inputs.yaml": return { - name: "reusable-workflow-with-inputs.yaml", + name: ".github/workflows/reusable-workflow-with-inputs.yaml", content: ` on: workflow_call: @@ -76,9 +76,9 @@ jobs: ` }; - case "./reusable-workflow-with-inputs-no-description.yaml": + case "./.github/workflows/reusable-workflow-with-inputs-no-description.yaml": return { - name: "reusable-workflow-with-inputs.yaml", + name: ".github/workflows/reusable-workflow-with-inputs.yaml", content: ` on: workflow_call: @@ -95,9 +95,9 @@ jobs: ` }; - case "./reusable-workflow-with-outputs.yaml": + case "./.github/workflows/reusable-workflow-with-outputs.yaml": return { - name: "reusable-workflow-with-outputs.yaml", + name: ".github/workflows/reusable-workflow-with-outputs.yaml", content: ` on: workflow_call: diff --git a/languageservice/src/utils/expression-detection.ts b/languageservice/src/utils/expression-detection.ts index 9b66ce4..e52de25 100644 --- a/languageservice/src/utils/expression-detection.ts +++ b/languageservice/src/utils/expression-detection.ts @@ -1,12 +1,11 @@ import {isString} from "@actions/workflow-parser"; -import {DefinitionType} from "@actions/workflow-parser/templates/schema/definition-type"; -import {StringDefinition} from "@actions/workflow-parser/templates/schema/string-definition"; import {OPEN_EXPRESSION} from "@actions/workflow-parser/templates/template-constants"; import {TemplateToken} from "@actions/workflow-parser/templates/tokens/index"; export function isPotentiallyExpression(token: TemplateToken): boolean { - const isAlwaysExpression = - token.definition?.definitionType === DefinitionType.String && (token.definition as StringDefinition).isExpression; const containsExpression = isString(token) && token.value != null && token.value.indexOf(OPEN_EXPRESSION) >= 0; - return isAlwaysExpression || containsExpression; + // If conditions are always expressions (job-if, step-if, snapshot-if) + const definitionKey = token.definition?.key; + const isIfCondition = definitionKey === "job-if" || definitionKey === "step-if" || definitionKey === "snapshot-if"; + return containsExpression || isIfCondition; } diff --git a/languageservice/src/utils/rel-char-pos.ts b/languageservice/src/utils/rel-char-pos.ts deleted file mode 100644 index 03537cf..0000000 --- a/languageservice/src/utils/rel-char-pos.ts +++ /dev/null @@ -1,15 +0,0 @@ -import {TokenRange} from "@actions/workflow-parser/templates/tokens/token-range"; -import {Position} from "vscode-languageserver-textdocument"; -import {mapRange} from "./range"; - -export function getRelCharOffset(tokenRange: TokenRange, currentInput: string, pos: Position): number { - const range = mapRange(tokenRange); - if (range.start.line !== range.end.line) { - const lines = currentInput.split("\n"); - const lineDiff = pos.line - range.start.line - 1; - const linesBeforeCusor = lines.slice(0, lineDiff); - return linesBeforeCusor.join("\n").length + pos.character + 1; - } else { - return pos.character - range.start.character; - } -} diff --git a/languageservice/src/validate.concurrency.test.ts b/languageservice/src/validate.concurrency.test.ts new file mode 100644 index 0000000..9bbccec --- /dev/null +++ b/languageservice/src/validate.concurrency.test.ts @@ -0,0 +1,245 @@ +import {DiagnosticSeverity} from "vscode-languageserver-types"; +import {validate} from "./validate"; +import {createDocument} from "./test-utils/document"; +import {clearCache} from "./utils/workflow-cache"; + +beforeEach(() => { + clearCache(); +}); + +describe("validate concurrency deadlock", () => { + describe("should error on matching concurrency groups", () => { + it("simple string match", async () => { + const input = ` +on: push +concurrency: test +jobs: + job1: + runs-on: ubuntu-latest + concurrency: test + steps: + - run: echo hi`; + + const result = await validate(createDocument("wf.yaml", input)); + + const concurrencyErrors = result.filter(d => d.message.includes("deadlock")); + expect(concurrencyErrors).toHaveLength(2); + + // Workflow-level warning + expect(concurrencyErrors[0]).toMatchObject({ + message: "Concurrency group 'test' is also used by job 'job1'. This will cause a deadlock.", + severity: DiagnosticSeverity.Error + }); + + // Job-level warning + expect(concurrencyErrors[1]).toMatchObject({ + message: "Concurrency group 'test' is also defined at the workflow level. This will cause a deadlock.", + severity: DiagnosticSeverity.Error + }); + }); + + it("workflow mapping form, job string form", async () => { + const input = ` +on: push +concurrency: + group: my-group + cancel-in-progress: true +jobs: + deploy: + runs-on: ubuntu-latest + concurrency: my-group + steps: + - run: echo hi`; + + const result = await validate(createDocument("wf.yaml", input)); + + const concurrencyErrors = result.filter(d => d.message.includes("deadlock")); + expect(concurrencyErrors).toHaveLength(2); + expect(concurrencyErrors[0].message).toContain("my-group"); + expect(concurrencyErrors[0].message).toContain("deploy"); + }); + + it("workflow string form, job mapping form", async () => { + const input = ` +on: push +concurrency: deploy-group +jobs: + build: + runs-on: ubuntu-latest + concurrency: + group: deploy-group + cancel-in-progress: true + steps: + - run: echo hi`; + + const result = await validate(createDocument("wf.yaml", input)); + + const concurrencyErrors = result.filter(d => d.message.includes("deadlock")); + expect(concurrencyErrors).toHaveLength(2); + expect(concurrencyErrors[0].message).toContain("deploy-group"); + }); + + it("both mapping forms", async () => { + const input = ` +on: push +concurrency: + group: shared +jobs: + job1: + runs-on: ubuntu-latest + concurrency: + group: shared + steps: + - run: echo hi`; + + const result = await validate(createDocument("wf.yaml", input)); + + const concurrencyErrors = result.filter(d => d.message.includes("deadlock")); + expect(concurrencyErrors).toHaveLength(2); + }); + + it("multiple jobs with matching concurrency", async () => { + const input = ` +on: push +concurrency: shared +jobs: + job1: + runs-on: ubuntu-latest + concurrency: shared + steps: + - run: echo hi + job2: + runs-on: ubuntu-latest + concurrency: shared + steps: + - run: echo hi`; + + const result = await validate(createDocument("wf.yaml", input)); + + // Should have 2 warnings per job (workflow + job) = 4 total, but workflow is only warned once per match + // Actually: 1 workflow warning per matching job + 1 job warning per matching job = 4 total + const concurrencyErrors = result.filter(d => d.message.includes("deadlock")); + expect(concurrencyErrors).toHaveLength(4); + }); + }); + + describe("should not warn", () => { + it("different concurrency groups", async () => { + const input = ` +on: push +concurrency: workflow-group +jobs: + job1: + runs-on: ubuntu-latest + concurrency: job-group + steps: + - run: echo hi`; + + const result = await validate(createDocument("wf.yaml", input)); + + const concurrencyErrors = result.filter(d => d.message.includes("deadlock")); + expect(concurrencyErrors).toHaveLength(0); + }); + + it("workflow concurrency is an expression", async () => { + const input = ` +on: push +concurrency: \${{ github.ref }} +jobs: + job1: + runs-on: ubuntu-latest + concurrency: test + steps: + - run: echo hi`; + + const result = await validate(createDocument("wf.yaml", input)); + + const concurrencyErrors = result.filter(d => d.message.includes("deadlock")); + expect(concurrencyErrors).toHaveLength(0); + }); + + it("job concurrency is an expression", async () => { + const input = ` +on: push +concurrency: test +jobs: + job1: + runs-on: ubuntu-latest + concurrency: \${{ github.ref }} + steps: + - run: echo hi`; + + const result = await validate(createDocument("wf.yaml", input)); + + const concurrencyErrors = result.filter(d => d.message.includes("deadlock")); + expect(concurrencyErrors).toHaveLength(0); + }); + + it("no workflow-level concurrency", async () => { + const input = ` +on: push +jobs: + job1: + runs-on: ubuntu-latest + concurrency: test + steps: + - run: echo hi`; + + const result = await validate(createDocument("wf.yaml", input)); + + const concurrencyErrors = result.filter(d => d.message.includes("deadlock")); + expect(concurrencyErrors).toHaveLength(0); + }); + + it("no job-level concurrency", async () => { + const input = ` +on: push +concurrency: test +jobs: + job1: + runs-on: ubuntu-latest + steps: + - run: echo hi`; + + const result = await validate(createDocument("wf.yaml", input)); + + const concurrencyErrors = result.filter(d => d.message.includes("deadlock")); + expect(concurrencyErrors).toHaveLength(0); + }); + + it("case sensitive - different case is different group", async () => { + const input = ` +on: push +concurrency: Test +jobs: + job1: + runs-on: ubuntu-latest + concurrency: test + steps: + - run: echo hi`; + + const result = await validate(createDocument("wf.yaml", input)); + + const concurrencyErrors = result.filter(d => d.message.includes("deadlock")); + expect(concurrencyErrors).toHaveLength(0); + }); + + it("workflow concurrency group in mapping is an expression", async () => { + const input = ` +on: push +concurrency: + group: \${{ github.ref }} +jobs: + job1: + runs-on: ubuntu-latest + concurrency: test + steps: + - run: echo hi`; + + const result = await validate(createDocument("wf.yaml", input)); + + const concurrencyErrors = result.filter(d => d.message.includes("deadlock")); + expect(concurrencyErrors).toHaveLength(0); + }); + }); +}); diff --git a/languageservice/src/validate.expressions-literal-text.test.ts b/languageservice/src/validate.expressions-literal-text.test.ts new file mode 100644 index 0000000..dabc8a0 --- /dev/null +++ b/languageservice/src/validate.expressions-literal-text.test.ts @@ -0,0 +1,214 @@ +import {DiagnosticSeverity} from "vscode-languageserver-types"; +import {registerLogger} from "./log"; +import {createDocument} from "./test-utils/document"; +import {TestLogger} from "./test-utils/logger"; +import {clearCache} from "./utils/workflow-cache"; +import {validate} from "./validate"; + +registerLogger(new TestLogger()); + +beforeEach(() => { + clearCache(); +}); + +describe("expression literal text in conditions", () => { + describe("job-if", () => { + it("errors when literal text mixed with embedded expression", async () => { + const input = ` +on: push +jobs: + build: + if: push == \${{ github.event_name }} + runs-on: ubuntu-latest + steps: + - run: echo hi +`; + const result = await validate(createDocument("wf.yaml", input)); + + expect(result).toContainEqual( + expect.objectContaining({ + message: + "Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?", + code: "expression-literal-text-in-condition", + severity: DiagnosticSeverity.Error + }) + ); + }); + + it("allows format with only replacement tokens", async () => { + const input = ` +on: push +jobs: + build: + if: \${{ format('{0}', github.event_name) }} + runs-on: ubuntu-latest + steps: + - run: echo hi +`; + const result = await validate(createDocument("wf.yaml", input)); + + expect(result).not.toContainEqual( + expect.objectContaining({ + code: "expression-literal-text-in-condition" + }) + ); + }); + + it("allows format with only replacement tokens and whitespace", async () => { + const input = ` +on: push +jobs: + build: + if: \${{ format('{0}{1}', github.event_name, 'test') }} + runs-on: ubuntu-latest + steps: + - run: echo hi +`; + const result = await validate(createDocument("wf.yaml", input)); + + // Only replacement tokens, no literal text + expect(result).not.toContainEqual( + expect.objectContaining({ + code: "expression-literal-text-in-condition" + }) + ); + }); + + it("errors with literal text and replacement tokens mixed", async () => { + const input = ` +on: push +jobs: + build: + if: \${{ format('event is {0}', github.event_name) }} + runs-on: ubuntu-latest + steps: + - run: echo hi +`; + const result = await validate(createDocument("wf.yaml", input)); + + expect(result).toContainEqual( + expect.objectContaining({ + message: + "Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?", + code: "expression-literal-text-in-condition", + severity: DiagnosticSeverity.Error + }) + ); + }); + + it("errors with escaped left brace followed by replacement token", async () => { + const input = ` +on: push +jobs: + build: + if: \${{ format('{{{0}', github.event_name) }} + runs-on: ubuntu-latest + steps: + - run: echo hi +`; + const result = await validate(createDocument("wf.yaml", input)); + + expect(result).toContainEqual( + expect.objectContaining({ + message: + "Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?", + code: "expression-literal-text-in-condition", + severity: DiagnosticSeverity.Error + }) + ); + }); + }); + + describe("step-if", () => { + it("errors when literal text mixed with embedded expression", async () => { + const input = ` +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - if: success == \${{ job.status }} + run: echo hi +`; + const result = await validate(createDocument("wf.yaml", input)); + + expect(result).toContainEqual( + expect.objectContaining({ + message: + "Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?", + code: "expression-literal-text-in-condition", + severity: DiagnosticSeverity.Error + }) + ); + }); + + it("allows valid expressions", async () => { + const input = ` +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - if: \${{ success() }} + run: echo hi +`; + const result = await validate(createDocument("wf.yaml", input)); + + expect(result).not.toContainEqual( + expect.objectContaining({ + code: "expression-literal-text-in-condition" + }) + ); + }); + }); + + describe("snapshot-if", () => { + it("errors when literal text mixed with embedded expression", async () => { + const input = ` +on: push +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest] + steps: + - run: echo hi + snapshot: + image-name: my-image + if: ubuntu == \${{ matrix.os }} +`; + const result = await validate(createDocument("wf.yaml", input)); + + expect(result).toContainEqual( + expect.objectContaining({ + message: + "Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?", + code: "expression-literal-text-in-condition", + severity: DiagnosticSeverity.Error + }) + ); + }); + }); + + describe("non-if fields", () => { + it("does not error for format in run", async () => { + const input = ` +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: echo \${{ format('Event is {0}', github.event_name) }} +`; + const result = await validate(createDocument("wf.yaml", input)); + + // Format with literal text is OK outside of if conditions + expect(result).not.toContainEqual( + expect.objectContaining({ + code: "expression-literal-text-in-condition" + }) + ); + }); + }); +}); diff --git a/languageservice/src/validate.expressions.test.ts b/languageservice/src/validate.expressions.test.ts index 94f5041..abfc770 100644 --- a/languageservice/src/validate.expressions.test.ts +++ b/languageservice/src/validate.expressions.test.ts @@ -635,7 +635,7 @@ jobs: fail-fast: true matrix: node: [14, 16] - uses: ./reusable-workflow-with-inputs.yaml + uses: ./.github/workflows/reusable-workflow-with-inputs.yaml with: username: User-\${{ strategy.fail-fast }} `; @@ -654,7 +654,7 @@ jobs: strategy: matrix: node: [14, 16] - uses: ./reusable-workflow-with-inputs.yaml + uses: ./.github/workflows/reusable-workflow-with-inputs.yaml with: username: \${{ matrix.node }} `; @@ -681,7 +681,8 @@ jobs: const result = await validate(createDocument("wf.yaml", input)); - expect(result).not.toEqual([]); + // Strategy context is always available with default values + expect(result).toEqual([]); }); it("invalid strategy property", async () => { @@ -996,22 +997,8 @@ jobs: const result = await validate(createDocument("wf.yaml", input)); - expect(result).toEqual([ - { - message: "Context access might be invalid: matrix", - range: { - end: { - character: 36, - line: 8 - }, - start: { - character: 18, - line: 8 - } - }, - severity: DiagnosticSeverity.Warning - } - ]); + // Matrix is null when no strategy is defined, accessing properties on null is valid + expect(result).toEqual([]); }); it("basic matrix", async () => { @@ -1505,4 +1492,216 @@ jobs: expect(result).toEqual([]); }); }); + + describe("if condition context restrictions", () => { + describe("job-level if", () => { + it("allows github context", async () => { + const input = ` +on: push +jobs: + build: + if: github.event_name == 'push' + runs-on: ubuntu-latest + steps: + - run: echo hello`; + + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("allows needs context", async () => { + const input = ` +on: push +jobs: + a: + runs-on: ubuntu-latest + steps: + - run: echo hello + b: + needs: a + if: needs.a.result == 'success' + runs-on: ubuntu-latest + steps: + - run: echo hello`; + + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("allows inputs context", async () => { + const input = ` +on: + workflow_dispatch: + inputs: + environment: + type: string +jobs: + build: + if: inputs.environment == 'prod' + runs-on: ubuntu-latest + steps: + - run: echo hello`; + + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + // Note: vars and matrix contexts are validated at runtime based on their existence + // vars context only exists if organization/repository variables are defined + // matrix context only exists if a strategy.matrix is defined + }); + + describe("step-level if", () => { + it("allows steps context", async () => { + const input = ` +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - id: setup + run: echo hello + - if: steps.setup.outcome == 'success' + run: echo world`; + + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("allows job context", async () => { + const input = ` +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - if: job.status == 'success' + run: echo hello`; + + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("allows runner context", async () => { + const input = ` +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - if: runner.os == 'Linux' + run: echo hello`; + + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("allows runner.environment context", async () => { + const input = ` +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - if: runner.environment == 'github-hosted' + run: echo hello`; + + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("allows runner.debug context", async () => { + const input = ` +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - if: runner.debug == '1' + run: echo hello`; + + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("allows runner.workspace context", async () => { + const input = ` +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - if: runner.workspace != '' + run: echo hello`; + + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("allows env context", async () => { + const input = ` +on: push +jobs: + build: + runs-on: ubuntu-latest + env: + MY_VAR: value + steps: + - if: env.MY_VAR == 'value' + run: echo hello`; + + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("allows matrix context in matrix job", async () => { + const input = ` +on: push +jobs: + build: + strategy: + matrix: + os: [ubuntu, windows] + runs-on: ubuntu-latest + steps: + - if: matrix.os == 'ubuntu' + run: echo hello`; + + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("allows hashFiles function", async () => { + const input = ` +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - if: hashFiles('**/*.txt') != '' + run: echo hello`; + + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("allows all contexts together", async () => { + const input = ` +on: push +jobs: + build: + runs-on: ubuntu-latest + env: + JOB_VAR: job-value + steps: + - id: first + run: echo hello + - if: github.event_name == 'push' && steps.first.outcome == 'success' && job.status == 'success' && runner.os == 'Linux' && env.JOB_VAR == 'job-value' + run: echo world`; + + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + }); + }); }); diff --git a/languageservice/src/validate.incomplete-context.test.ts b/languageservice/src/validate.incomplete-context.test.ts new file mode 100644 index 0000000..f118528 --- /dev/null +++ b/languageservice/src/validate.incomplete-context.test.ts @@ -0,0 +1,152 @@ +/** + * Test validation behavior when no context providers are configured. + * + * When contextProviderConfig is not provided (or returns incomplete data), + * we should skip validation for secrets/vars rather than showing false + * positive "Context access might be invalid" warnings. + * + * This is important for offline/disconnected scenarios where API calls + * to fetch secrets/vars are not possible. + */ + +import {validate} from "./validate"; +import {createDocument} from "./test-utils/document"; +import {clearCache} from "./utils/workflow-cache"; + +beforeEach(() => { + clearCache(); +}); + +describe("validation without context providers", () => { + describe("secrets context", () => { + it("should not warn on secrets.GITHUB_TOKEN", async () => { + const doc = createDocument( + "wf.yaml", + ` +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: echo "test" + env: + GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} +` + ); + const result = await validate(doc); + expect(result).toEqual([]); + }); + + it("should not warn on custom secrets when no provider configured", async () => { + const doc = createDocument( + "wf.yaml", + ` +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: echo "test" + env: + API_KEY: \${{ secrets.MY_API_KEY }} +` + ); + const result = await validate(doc); + expect(result).toEqual([]); + }); + + it("should not warn on secrets with environment", async () => { + const doc = createDocument( + "wf.yaml", + ` +on: push +jobs: + deploy: + runs-on: ubuntu-latest + environment: production + steps: + - run: echo "test" + env: + API_KEY: \${{ secrets.API_KEY }} +` + ); + const result = await validate(doc); + expect(result).toEqual([]); + }); + }); + + describe("vars context", () => { + it("should not warn on vars when no provider configured", async () => { + const doc = createDocument( + "wf.yaml", + ` +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: echo "\${{ vars.ENVIRONMENT }}" +` + ); + const result = await validate(doc); + expect(result).toEqual([]); + }); + + it("should not warn on vars with environment", async () => { + const doc = createDocument( + "wf.yaml", + ` +on: push +jobs: + deploy: + runs-on: ubuntu-latest + environment: production + steps: + - run: echo "\${{ vars.API_URL }}" +` + ); + const result = await validate(doc); + expect(result).toEqual([]); + }); + + it("should not warn on vars with fallback pattern", async () => { + const doc = createDocument( + "wf.yaml", + ` +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: echo "\${{ vars.OPTIONAL_VAR || 'default-value' }}" +` + ); + const result = await validate(doc); + expect(result).toEqual([]); + }); + }); + + describe("combined secrets and vars", () => { + it("should not warn on workflow using both secrets and vars", async () => { + const doc = createDocument( + "wf.yaml", + ` +on: push +jobs: + deploy: + runs-on: ubuntu-latest + environment: production + steps: + - run: | + echo "Deploying to \${{ vars.API_URL }}" + echo "Using region \${{ vars.AWS_REGION }}" + env: + API_KEY: \${{ secrets.API_KEY }} + AWS_SECRET: \${{ secrets.AWS_SECRET_ACCESS_KEY }} +` + ); + const result = await validate(doc); + expect(result).toEqual([]); + }); + }); +}); diff --git a/languageservice/src/validate.test.ts b/languageservice/src/validate.test.ts index cb87c76..8e5865c 100644 --- a/languageservice/src/validate.test.ts +++ b/languageservice/src/validate.test.ts @@ -181,7 +181,7 @@ jobs: expect(result.length).toBe(1); expect(result[0]).toEqual({ - message: "Invalid cron string", + message: "Invalid cron expression. Expected format: '* * * * *' (minute hour day month weekday)", range: { end: { character: 21, @@ -195,6 +195,96 @@ jobs: } as Diagnostic); }); + it("cron with interval less than 5 minutes shows warning", async () => { + const result = await validate( + createDocument( + "wf.yaml", + `on: + schedule: + - cron: '*/1 * * * *' +jobs: + build: + runs-on: ubuntu-latest` + ), + {valueProviderConfig: defaultValueProviders} + ); + + expect(result.length).toBe(1); + expect(result[0]).toEqual({ + message: + 'Actions schedules run at most every 5 minutes. "*/1 * * * *" (runs every minute) will not run as frequently as specified.', + severity: DiagnosticSeverity.Warning, + code: "on-schedule", + codeDescription: { + href: "https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#onschedule" + }, + range: { + end: { + character: 25, + line: 2 + }, + start: { + character: 12, + line: 2 + } + } + } as Diagnostic); + }); + + it("cron with interval of 5 minutes or more shows info", async () => { + const result = await validate( + createDocument( + "wf.yaml", + `on: + schedule: + - cron: '*/5 * * * *' +jobs: + build: + runs-on: ubuntu-latest` + ), + {valueProviderConfig: defaultValueProviders} + ); + + expect(result.length).toBe(1); + expect(result[0]).toEqual({ + message: "Runs every 5 minutes", + severity: DiagnosticSeverity.Information, + code: "on-schedule", + codeDescription: { + href: "https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#onschedule" + }, + range: { + end: { + character: 25, + line: 2 + }, + start: { + character: 12, + line: 2 + } + } + } as Diagnostic); + }); + + it("cron with comma-separated minutes less than 5 apart shows warning", async () => { + const result = await validate( + createDocument( + "wf.yaml", + `on: + schedule: + - cron: '0,2 * * * *' +jobs: + build: + runs-on: ubuntu-latest` + ), + {valueProviderConfig: defaultValueProviders} + ); + + expect(result.length).toBe(1); + expect(result[0]?.severity).toBe(DiagnosticSeverity.Warning); + expect(result[0]?.message).toContain("Actions schedules run at most every 5 minutes."); + }); + it("invalid YAML", async () => { // This YAML has some mismatched single-quotes, which causes the string to be terminated early // within the fromJSON() expression. @@ -295,4 +385,31 @@ jobs: expect(result).toEqual([]); }); }); + + describe("workflow_dispatch", () => { + it("allows empty string in choice options", async () => { + const result = await validate( + createDocument( + "wf.yaml", + `on: + workflow_dispatch: + inputs: + plugin-name: + description: Specific plugin to build + type: choice + options: + - '' + - foo + - bar +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: echo` + ) + ); + + expect(result).toEqual([]); + }); + }); }); diff --git a/languageservice/src/validate.ts b/languageservice/src/validate.ts index 3bcbd0a..9f24976 100644 --- a/languageservice/src/validate.ts +++ b/languageservice/src/validate.ts @@ -1,7 +1,9 @@ -import {Lexer, Parser} from "@actions/expressions"; -import {Expr} from "@actions/expressions/ast"; -import {ParseWorkflowResult, WorkflowTemplate, isBasicExpression, isString} from "@actions/workflow-parser"; +import {Lexer, Parser, data} from "@actions/expressions"; +import {Expr, FunctionCall, Literal, Logical} from "@actions/expressions/ast"; +import {ParseWorkflowResult, WorkflowTemplate, isBasicExpression, isMapping, isString} from "@actions/workflow-parser"; import {ErrorPolicy} from "@actions/workflow-parser/model/convert"; +import {getCronDescription, hasCronIntervalLessThan5Minutes} from "@actions/workflow-parser/model/converter/cron"; +import {ensureStatusFunction} from "@actions/workflow-parser/model/converter/if-condition"; import {splitAllowedContext} from "@actions/workflow-parser/templates/allowed-context"; import {BasicExpressionToken} from "@actions/workflow-parser/templates/tokens/basic-expression-token"; import {StringToken} from "@actions/workflow-parser/templates/tokens/string-token"; @@ -26,6 +28,9 @@ import {validateAction} from "./validate-action"; import {ValueProviderConfig, ValueProviderKind} from "./value-providers/config"; import {defaultValueProviders} from "./value-providers/default"; +const CRON_SCHEDULE_DOCS_URL = + "https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#onschedule"; + export type ValidationConfig = { valueProviderConfig?: ValueProviderConfig; contextProviderConfig?: ContextProviderConfig; @@ -104,15 +109,72 @@ async function additionalValidations( token, validationToken.definitionInfo?.allowedContext || [], config?.contextProviderConfig, - getProviderContext(documentUri, template, root, token.range) + getProviderContext(documentUri, template, root, token.range), + key?.definition?.key ); } + // If this is a job-if, step-if, or snapshot-if field (which are strings that should be treated as expressions), validate it + const definitionKey = token.definition?.key; + if ( + isString(token) && + token.range && + (definitionKey === "job-if" || definitionKey === "step-if" || definitionKey === "snapshot-if") + ) { + // Convert the string to an expression token for validation + const condition = token.value.trim(); + if (condition) { + // Ensure the condition has a status function, wrapping if needed + const finalCondition = ensureStatusFunction(condition, token.definitionInfo); + + // Create a BasicExpressionToken for validation + const expressionToken = new BasicExpressionToken( + token.file, + token.range, + finalCondition, + token.definitionInfo, + undefined, + token.source + ); + + await validateExpression( + diagnostics, + expressionToken, + validationToken.definitionInfo?.allowedContext || [], + config?.contextProviderConfig, + getProviderContext(documentUri, template, root, token.range) + ); + } + } + + // Validate step uses field format + if (isString(token) && token.range && validationDefinition?.key === "step-uses") { + validateStepUsesFormat(diagnostics, token); + } + + // Validate action metadata (inputs, required fields) for regular steps if (token.definition?.key === "regular-step" && token.range) { const context = getProviderContext(documentUri, template, root, token.range); await validateAction(diagnostics, token, context.step, config); } + // Validate job-level reusable workflow uses field format + if ( + isString(token) && + token.range && + key && + isString(key) && + key.value === "uses" && + parent?.definition?.key === "workflow-job" + ) { + validateWorkflowUsesFormat(diagnostics, token); + } + + // Validate cron expressions - warn if interval is less than 5 minutes + if (isString(token) && token.range && validationDefinition?.key === "cron-pattern") { + validateCronExpression(diagnostics, token); + } + // Allowed values coming from the schema have already been validated. Only check if // a value provider is defined for a token and if it is, validate the values match. if (token.range && validationDefinition) { @@ -147,6 +209,9 @@ async function additionalValidations( } } } + + // Validate concurrency deadlock between workflow and job levels + validateConcurrencyDeadlock(diagnostics, template); } function invalidValue(diagnostics: Diagnostic[], token: StringToken, kind: ValueProviderKind) { @@ -163,6 +228,357 @@ function invalidValue(diagnostics: Diagnostic[], token: StringToken, kind: Value } } +/** + * Validates cron expressions and provides diagnostics for valid cron schedules. + * Shows a warning if the interval is less than 5 minutes (since GitHub Actions + * schedules run at most every 5 minutes), otherwise shows an info message. + */ +function validateCronExpression(diagnostics: Diagnostic[], token: StringToken): void { + const cronValue = token.value; + + // Ensure we have a range for diagnostics + if (!token.range) { + return; + } + + // Only check valid cron expressions - invalid ones are already caught by the parser + const description = getCronDescription(cronValue); + if (!description) { + return; + } + + // Check if the cron specifies an interval less than 5 minutes + if (hasCronIntervalLessThan5Minutes(cronValue)) { + diagnostics.push({ + message: `Actions schedules run at most every 5 minutes. "${cronValue}" (${description.toLowerCase()}) will not run as frequently as specified.`, + range: mapRange(token.range), + severity: DiagnosticSeverity.Warning, + code: "on-schedule", + codeDescription: { + href: CRON_SCHEDULE_DOCS_URL + } + }); + } else { + // Show info message for valid cron expressions + diagnostics.push({ + message: description, + range: mapRange(token.range), + severity: DiagnosticSeverity.Information, + code: "on-schedule", + codeDescription: { + href: CRON_SCHEDULE_DOCS_URL + } + }); + } +} + +/** + * Validates the format of a step's `uses` field. + * + * Valid formats: + * - docker://image:tag + * - ./local/path + * - .\local\path (Windows) + * - {owner}/{repo}@{ref} + * - {owner}/{repo}/{path}@{ref} + */ +function validateStepUsesFormat(diagnostics: Diagnostic[], token: StringToken): void { + const uses = token.value; + + // Empty uses value + if (!uses) { + diagnostics.push({ + message: "`uses' value in action cannot be blank", + severity: DiagnosticSeverity.Error, + range: mapRange(token.range), + code: "invalid-uses-format" + }); + return; + } + + // Docker image reference - always valid format + if (uses.startsWith("docker://")) { + return; + } + + // Local action path - always valid format + if (uses.startsWith("./") || uses.startsWith(".\\")) { + return; + } + + // Remote action: must be {owner}/{repo}[/path]@{ref} + const atSegments = uses.split("@"); + + // Must have exactly one @ + if (atSegments.length !== 2) { + addStepUsesFormatError(diagnostics, token); + return; + } + + const [repoPath, gitRef] = atSegments; + + // Ref cannot be empty + if (!gitRef) { + addStepUsesFormatError(diagnostics, token); + return; + } + + // Split by / or \ to get path segments + const pathSegments = repoPath.split(/[\\/]/); + + // Must have at least owner and repo (both non-empty) + if (pathSegments.length < 2 || !pathSegments[0] || !pathSegments[1]) { + addStepUsesFormatError(diagnostics, token); + return; + } + + // Check if this is a reusable workflow reference (should be at job level, not step) + // Path would be like: owner/repo/.github/workflows/file.yml + if (pathSegments.length >= 4 && pathSegments[2] === ".github" && pathSegments[3] === "workflows") { + diagnostics.push({ + message: "Reusable workflows should be referenced at the top-level `jobs..uses` key, not within steps", + severity: DiagnosticSeverity.Error, + range: mapRange(token.range), + code: "invalid-uses-format" + }); + return; + } +} + +function addStepUsesFormatError(diagnostics: Diagnostic[], token: StringToken): void { + diagnostics.push({ + message: `Expected format {owner}/{repo}[/path]@{ref}. Actual '${token.value}'`, + severity: DiagnosticSeverity.Error, + range: mapRange(token.range), + code: "invalid-uses-format" + }); +} + +/** + * Validates the format of a job's `uses` field (reusable workflow reference). + * + * Valid formats: + * - {owner}/{repo}/.github/workflows/{filename}.yml@{ref} + * - {owner}/{repo}/.github/workflows/{filename}.yaml@{ref} + * - {owner}/{repo}/.github/workflows-lab/{filename}.yml@{ref} + * - {owner}/{repo}/.github/workflows-lab/{filename}.yaml@{ref} + * - ./.github/workflows/{filename}.yml + * - ./.github/workflows/{filename}.yaml + * - ./.github/workflows-lab/{filename}.yml + * - ./.github/workflows-lab/{filename}.yaml + */ +function validateWorkflowUsesFormat(diagnostics: Diagnostic[], token: StringToken): void { + const uses = token.value; + + // Local workflow reference + if (uses.startsWith("./.github/workflows/") || uses.startsWith("./.github/workflows-lab/")) { + // Cannot have @ version for local workflows + if (uses.includes("@")) { + addWorkflowUsesFormatError(diagnostics, token, "cannot specify version when calling local workflows"); + return; + } + + // Must have .yml or .yaml extension + if (!uses.endsWith(".yml") && !uses.endsWith(".yaml")) { + addWorkflowUsesFormatError( + diagnostics, + token, + "workflow file should have either a '.yml' or '.yaml' file extension" + ); + return; + } + + // Must be at top level of .github/workflows/ or .github/workflows-lab/ (no subdirectories) + const pathParts = uses.split("/"); + if (pathParts.length !== 4) { + // Expected: ".", ".github", "workflows" or "workflows-lab", "filename.yml" + addWorkflowUsesFormatError( + diagnostics, + token, + "workflows must be defined at the top level of the .github/workflows/ directory" + ); + return; + } + + // Filename cannot be just the extension + const filename = pathParts[3]; + if (filename === ".yml" || filename === ".yaml") { + addWorkflowUsesFormatError(diagnostics, token, "invalid workflow file name"); + return; + } + + return; + } + + // Malformed local workflow reference (starts with ./ but not in .github/workflows) + if (uses.startsWith("./")) { + addWorkflowUsesFormatError(diagnostics, token, "local workflow references must be rooted in '.github/workflows'"); + return; + } + + // Remote workflow reference: must have @ for version + const atSegments = uses.split("@"); + if (atSegments.length === 1) { + addWorkflowUsesFormatError(diagnostics, token, "no version specified"); + return; + } + if (atSegments.length > 2) { + addWorkflowUsesFormatError(diagnostics, token, "too many '@' in workflow reference"); + return; + } + + const [pathPart, version] = atSegments; + + // Version cannot be empty + if (!version) { + addWorkflowUsesFormatError(diagnostics, token, "no version specified"); + return; + } + + // Must contain .github/workflows or .github/workflows-lab path + const workflowsMatch = pathPart.match(/\.github\/workflows(-lab)?\//); + if (!workflowsMatch || workflowsMatch.index === undefined) { + addWorkflowUsesFormatError(diagnostics, token, "references to workflows must be rooted in '.github/workflows'"); + return; + } + + // Split to get owner/repo and path + const pathIdx = workflowsMatch.index; + const nwoPart = pathPart.substring(0, pathIdx); + const workflowPath = pathPart.substring(pathIdx); + + // Validate NWO part: must be owner/repo/ + const nwoSegments = nwoPart.split("/").filter(s => s.length > 0); + if (nwoSegments.length !== 2) { + addWorkflowUsesFormatError( + diagnostics, + token, + "references to workflows must be prefixed with format 'owner/repository/' or './' for local workflows" + ); + return; + } + + // Validate owner and repo names + const [owner, repo] = nwoSegments; + const nwoError = validateNWO(owner, repo); + if (nwoError) { + addWorkflowUsesFormatError(diagnostics, token, nwoError); + return; + } + + // Validate ref/version format + const refError = validateRefName(version); + if (refError) { + addWorkflowUsesFormatError(diagnostics, token, refError); + return; + } + + // Validate workflow path is at top level + const workflowPathParts = workflowPath.split("/"); + if (workflowPathParts.length !== 3) { + // Expected: ".github", "workflows" or "workflows-lab", "filename.yml" + addWorkflowUsesFormatError( + diagnostics, + token, + "workflows must be defined at the top level of the .github/workflows/ directory" + ); + return; + } + + // Must have .yml or .yaml extension + const filename = workflowPathParts[2]; + if (!filename.endsWith(".yml") && !filename.endsWith(".yaml")) { + addWorkflowUsesFormatError( + diagnostics, + token, + "workflow file should have either a '.yml' or '.yaml' file extension" + ); + return; + } + + // Filename cannot be just the extension + if (filename === ".yml" || filename === ".yaml") { + addWorkflowUsesFormatError(diagnostics, token, "invalid workflow file name"); + return; + } +} + +function addWorkflowUsesFormatError(diagnostics: Diagnostic[], token: StringToken, reason: string): void { + diagnostics.push({ + message: `Invalid workflow reference '${token.value}': ${reason}`, + severity: DiagnosticSeverity.Error, + range: mapRange(token.range), + code: "invalid-workflow-uses-format" + }); +} + +/** + * Validates the git ref/version format. + * Based on Launch's ValidateRefName function. + */ +function validateRefName(refname: string): string | undefined { + if (refname.length === 0) { + return "no version specified"; + } + + // Cannot be the single character '@' + if (refname === "@") { + return "version cannot be the single character '@'"; + } + + // Cannot have certain invalid characters or sequences + const invalidSequences = ["?", "*", "[", "]", "\\", "~", "^", ":", "@{", "..", "//"]; + for (const seq of invalidSequences) { + if (refname.includes(seq)) { + return `invalid character '${seq}' in version`; + } + } + + // Cannot begin or end with a slash '/' or a dot '.' + if (refname.startsWith("/") || refname.endsWith("/") || refname.startsWith(".") || refname.endsWith(".")) { + return "version cannot begin or end with a slash '/' or a dot '.'"; + } + + // No slash-separated component can begin with a dot '.' or end with the sequence '.lock' + const components = refname.split("/"); + for (const component of components) { + if (component.startsWith(".") || component.endsWith(".lock")) { + return `invalid version: ${refname}`; + } + } + + // No ASCII control characters or whitespace + // eslint-disable-next-line no-control-regex + if (/[\x00-\x1f\x7f]/.test(refname)) { + return "version cannot have ASCII control characters"; + } + + if (/\s/.test(refname)) { + return "version cannot have whitespace"; + } + + return undefined; +} + +/** + * Validates owner and repository names. + * Based on Launch's ValidateNWO function. + */ +function validateNWO(owner: string, repo: string): string | undefined { + // Owner name: can have word chars, dots, and hyphens + // \w in JS regex is [a-zA-Z0-9_] + if (!/^[\w.-]+$/.test(owner)) { + return "owner name must be a valid repository owner name"; + } + + // Repository name: can have word chars, dots, and hyphens + if (!/^[\w.-]+$/.test(repo)) { + return "repository name is invalid"; + } + + return undefined; +} + function getProviderContext( documentUri: URI, template: WorkflowTemplate, @@ -179,17 +595,99 @@ function getProviderContext( return getWorkflowContext(documentUri, template, path); } +/** + * Checks if a format function contains literal text in its format string. + * This indicates user confusion about how expressions work. + * + * Example: format('push == {0}', github.event_name) + * The literal text "push == " will always evaluate to truthy. + * + * @param expr The expression to check + * @returns true if the expression is a format() call with literal text + */ +function hasFormatWithLiteralText(expr: Expr): boolean { + // If this is a logical AND expression (from ensureStatusFunction wrapping) + // check the right side for the format call + if (expr instanceof Logical && expr.operator.lexeme === "&&" && expr.args.length === 2) { + return hasFormatWithLiteralText(expr.args[1]); + } + + if (!(expr instanceof FunctionCall)) { + return false; + } + + // Check if this is a format function + if (expr.functionName.lexeme.toLowerCase() !== "format") { + return false; + } + + // Check if the first argument is a string literal + if (expr.args.length < 1) { + return false; + } + + const firstArg = expr.args[0]; + if (!(firstArg instanceof Literal) || firstArg.literal.kind !== data.Kind.String) { + return false; + } + + // Get the format string and trim whitespace + const formatString = firstArg.literal.coerceString(); + const trimmed = formatString.trim(); + + // Check if there's literal text (non-replacement tokens) after trimming + let inToken = false; + for (let i = 0; i < trimmed.length; i++) { + if (!inToken && trimmed[i] === "{") { + inToken = true; + } else if (inToken && trimmed[i] === "}") { + inToken = false; + } else if (inToken && trimmed[i] >= "0" && trimmed[i] <= "9") { + // OK - this is a replacement token like {0}, {1}, etc. + } else { + // Found literal text + return true; + } + } + + return false; +} + async function validateExpression( diagnostics: Diagnostic[], token: BasicExpressionToken, allowedContext: string[], contextProviderConfig: ContextProviderConfig | undefined, - workflowContext: WorkflowContext + workflowContext: WorkflowContext, + keyDefinitionKey?: string ) { + const {namedContexts, functions} = splitAllowedContext(allowedContext); + + // Check for literal text in if condition + const definitionKey = keyDefinitionKey || token.definitionInfo?.definition?.key; + if (definitionKey === "job-if" || definitionKey === "step-if" || definitionKey === "snapshot-if") { + try { + const l = new Lexer(token.expression); + const lr = l.lex(); + const p = new Parser(lr.tokens, namedContexts, functions); + const expr = p.parse(); + + if (hasFormatWithLiteralText(expr)) { + diagnostics.push({ + message: + "Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?", + range: mapRange(token.range), + severity: DiagnosticSeverity.Error, + code: "expression-literal-text-in-condition" + }); + } + } catch { + // Ignore parse errors here + } + } + // Validate the expression for (const expression of token.originalExpressions || [token]) { - const {namedContexts, functions} = splitAllowedContext(allowedContext); - let expr: Expr | undefined; try { @@ -217,3 +715,71 @@ async function validateExpression( ); } } + +/** + * Validates that workflow-level and job-level concurrency groups don't match, + * which would cause a deadlock at runtime. + */ +function validateConcurrencyDeadlock(diagnostics: Diagnostic[], template: WorkflowTemplate): void { + const workflowGroup = getStaticConcurrencyGroup(template.concurrency); + if (!workflowGroup) { + return; // No workflow-level concurrency or it's an expression + } + + for (const job of template.jobs || []) { + if (!job.concurrency) { + continue; + } + + const jobGroup = getStaticConcurrencyGroup(job.concurrency); + if (!jobGroup) { + continue; // Job concurrency is an expression + } + + if (workflowGroup.value === jobGroup.value) { + // Error on workflow-level concurrency + if (template.concurrency.range) { + diagnostics.push({ + message: `Concurrency group '${workflowGroup.value}' is also used by job '${job.id.value}'. This will cause a deadlock.`, + range: mapRange(template.concurrency.range), + severity: DiagnosticSeverity.Error + }); + } + + // Error on job-level concurrency + if (job.concurrency.range) { + diagnostics.push({ + message: `Concurrency group '${jobGroup.value}' is also defined at the workflow level. This will cause a deadlock.`, + range: mapRange(job.concurrency.range), + severity: DiagnosticSeverity.Error + }); + } + } + } +} + +/** + * Extracts the static concurrency group name from a concurrency token. + * Returns undefined if the token is an expression or doesn't have a static group. + */ +function getStaticConcurrencyGroup(token: TemplateToken | undefined): StringToken | undefined { + if (!token || token.isExpression) { + return undefined; + } + + // Simple string form: concurrency: "test" + if (isString(token)) { + return token; + } + + // Mapping form: concurrency: { group: "test", cancel-in-progress: true } + if (isMapping(token)) { + for (const pair of token) { + if (isString(pair.key) && pair.key.value === "group" && isString(pair.value) && !pair.value.isExpression) { + return pair.value; + } + } + } + + return undefined; +} diff --git a/languageservice/src/validate.uses-format.test.ts b/languageservice/src/validate.uses-format.test.ts new file mode 100644 index 0000000..dad042e --- /dev/null +++ b/languageservice/src/validate.uses-format.test.ts @@ -0,0 +1,894 @@ +import {DiagnosticSeverity} from "vscode-languageserver-types"; +import {validate} from "./validate"; +import {createDocument} from "./test-utils/document"; +import {clearCache} from "./utils/workflow-cache"; + +beforeEach(() => { + clearCache(); +}); + +describe("validate uses format", () => { + describe("valid formats", () => { + it("standard org/repo@ref", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("org/repo with path @ref", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/aws/ec2@main +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("org/repo with deep path @ref", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/aws/nested/deep/path@v1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("docker image", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: docker://alpine:3.8 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("docker image with registry", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: docker://gcr.io/my-project/my-image:latest +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("local path with ./", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: ./my-action +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("local path with ./ and subdirectories", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: ./.github/actions/my-action +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("local path with .\\ (Windows)", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: .\\my-action +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("SHA ref", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("branch ref", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: owner/repo@feature/my-branch +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + }); + + describe("invalid formats", () => { + it("missing @ref", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: "Expected format {owner}/{repo}[/path]@{ref}. Actual 'actions/checkout'", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 5, character: 12}, + end: {line: 5, character: 28} + }, + code: "invalid-uses-format" + } + ]); + }); + + it("empty ref", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@ +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: "Expected format {owner}/{repo}[/path]@{ref}. Actual 'actions/checkout@'", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 5, character: 12}, + end: {line: 5, character: 29} + }, + code: "invalid-uses-format" + } + ]); + }); + + it("missing org/owner", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: checkout@v4 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: "Expected format {owner}/{repo}[/path]@{ref}. Actual 'checkout@v4'", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 5, character: 12}, + end: {line: 5, character: 23} + }, + code: "invalid-uses-format" + } + ]); + }); + + it("empty owner", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: /repo@v4 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: "Expected format {owner}/{repo}[/path]@{ref}. Actual '/repo@v4'", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 5, character: 12}, + end: {line: 5, character: 20} + }, + code: "invalid-uses-format" + } + ]); + }); + + it("empty repo", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: owner/@v4 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: "Expected format {owner}/{repo}[/path]@{ref}. Actual 'owner/@v4'", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 5, character: 12}, + end: {line: 5, character: 21} + }, + code: "invalid-uses-format" + } + ]); + }); + + it("multiple @ symbols", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4@extra +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: "Expected format {owner}/{repo}[/path]@{ref}. Actual 'actions/checkout@v4@extra'", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 5, character: 12}, + end: {line: 5, character: 37} + }, + code: "invalid-uses-format" + } + ]); + }); + + it("just a name with no slash", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: checkout +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: "Expected format {owner}/{repo}[/path]@{ref}. Actual 'checkout'", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 5, character: 12}, + end: {line: 5, character: 20} + }, + code: "invalid-uses-format" + } + ]); + }); + + it("empty uses value", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: "" +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toContainEqual({ + message: "`uses' value in action cannot be blank", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 5, character: 12}, + end: {line: 5, character: 14} + }, + code: "invalid-uses-format" + }); + }); + + it("reusable workflow in step", async () => { + const input = `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: owner/repo/.github/workflows/test.yml@main +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Reusable workflows should be referenced at the top-level `jobs..uses` key, not within steps", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 5, character: 12}, + end: {line: 5, character: 54} + }, + code: "invalid-uses-format" + } + ]); + }); + }); +}); + +describe("workflow uses format validation", () => { + beforeEach(() => { + clearCache(); + }); + + describe("valid formats", () => { + it("local workflow path", async () => { + const input = `on: push +jobs: + test: + uses: ./.github/workflows/test.yml +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("local workflow path with yaml extension", async () => { + const input = `on: push +jobs: + test: + uses: ./.github/workflows/test.yaml +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("remote workflow with version", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/test.yml@v1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("remote workflow with sha ref", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/test.yml@abc123 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("remote workflow with branch ref", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/test.yml@main +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("remote workflow with yaml extension", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/test.yaml@v1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("local workflows-lab path", async () => { + const input = `on: push +jobs: + test: + uses: ./.github/workflows-lab/test.yml +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("local workflows-lab path with yaml extension", async () => { + const input = `on: push +jobs: + test: + uses: ./.github/workflows-lab/test.yaml +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + + it("remote workflows-lab with version", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows-lab/test.yml@v1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([]); + }); + }); + + describe("invalid formats", () => { + it("remote workflow missing version", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/test.yml +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: "Invalid workflow reference 'owner/repo/.github/workflows/test.yml': no version specified", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 47} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("local workflow with version", async () => { + const input = `on: push +jobs: + test: + uses: ./.github/workflows/test.yml@v1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference './.github/workflows/test.yml@v1': cannot specify version when calling local workflows", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 41} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("malformed local path not in .github/workflows", async () => { + const input = `on: push +jobs: + test: + uses: ./foo/bar.yml +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference './foo/bar.yml': local workflow references must be rooted in '.github/workflows'", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 23} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("missing .github/workflows path", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/test.yml@v1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference 'owner/repo/test.yml@v1': references to workflows must be rooted in '.github/workflows'", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 32} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("invalid file extension", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/test.txt@v1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference 'owner/repo/.github/workflows/test.txt@v1': workflow file should have either a '.yml' or '.yaml' file extension", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 50} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("no extension", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/test@v1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference 'owner/repo/.github/workflows/test@v1': workflow file should have either a '.yml' or '.yaml' file extension", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 46} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("just a ref", async () => { + const input = `on: push +jobs: + test: + uses: test.yml@v1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference 'test.yml@v1': references to workflows must be rooted in '.github/workflows'", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 21} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("local without .github/workflows", async () => { + const input = `on: push +jobs: + test: + uses: ./workflows/test.yml +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference './workflows/test.yml': local workflow references must be rooted in '.github/workflows'", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 30} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + describe("invalid ref/version format", () => { + it("empty version after @", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/test.yml@ +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: "Invalid workflow reference 'owner/repo/.github/workflows/test.yml@': no version specified", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 48} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("version with invalid character ?", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/test.yml@v1? +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference 'owner/repo/.github/workflows/test.yml@v1?': invalid character '?' in version", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 51} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("version with double dots", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/test.yml@v1..v2 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference 'owner/repo/.github/workflows/test.yml@v1..v2': invalid character '..' in version", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 54} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("version ending with dot", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/test.yml@v1. +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference 'owner/repo/.github/workflows/test.yml@v1.': version cannot begin or end with a slash '/' or a dot '.'", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 51} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("version starting with slash", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/test.yml@/v1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference 'owner/repo/.github/workflows/test.yml@/v1': version cannot begin or end with a slash '/' or a dot '.'", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 51} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("version ending with .lock", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/test.yml@refs/heads/main.lock +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference 'owner/repo/.github/workflows/test.yml@refs/heads/main.lock': invalid version: refs/heads/main.lock", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 68} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("version with whitespace", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/test.yml@v1 && rm -rf +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference 'owner/repo/.github/workflows/test.yml@v1 && rm -rf': version cannot have whitespace", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 60} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("version with backslash", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/test.yml@v1\\1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference 'owner/repo/.github/workflows/test.yml@v1\\1': invalid character '\\' in version", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 52} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + }); + + describe("invalid owner/repo names", () => { + it("owner with invalid characters", async () => { + const input = `on: push +jobs: + test: + uses: owner*/repo/.github/workflows/test.yml@v1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference 'owner*/repo/.github/workflows/test.yml@v1': owner name must be a valid repository owner name", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 51} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("repo with invalid characters", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo!name/.github/workflows/test.yml@v1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference 'owner/repo!name/.github/workflows/test.yml@v1': repository name is invalid", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 55} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("owner with spaces", async () => { + const input = `on: push +jobs: + test: + uses: owner name/repo/.github/workflows/test.yml@v1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: + "Invalid workflow reference 'owner name/repo/.github/workflows/test.yml@v1': owner name must be a valid repository owner name", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 55} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + }); + + describe("invalid workflow filename", () => { + it("filename is just .yml", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/.yml@v1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: "Invalid workflow reference 'owner/repo/.github/workflows/.yml@v1': invalid workflow file name", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 46} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("filename is just .yaml", async () => { + const input = `on: push +jobs: + test: + uses: owner/repo/.github/workflows/.yaml@v1 +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: "Invalid workflow reference 'owner/repo/.github/workflows/.yaml@v1': invalid workflow file name", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 47} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + + it("local workflow filename is just .yml", async () => { + const input = `on: push +jobs: + test: + uses: ./.github/workflows/.yml +`; + const result = await validate(createDocument("wf.yaml", input)); + expect(result).toEqual([ + { + message: "Invalid workflow reference './.github/workflows/.yml': invalid workflow file name", + severity: DiagnosticSeverity.Error, + range: { + start: {line: 3, character: 10}, + end: {line: 3, character: 34} + }, + code: "invalid-workflow-uses-format" + } + ]); + }); + }); + }); +}); diff --git a/languageservice/src/validate.workflow-references.test.ts b/languageservice/src/validate.workflow-references.test.ts index ec1c446..6932fa9 100644 --- a/languageservice/src/validate.workflow-references.test.ts +++ b/languageservice/src/validate.workflow-references.test.ts @@ -43,7 +43,7 @@ on: push jobs: build: - uses: monalisa/octocat/workflow.yaml@not-a-branch + uses: monalisa/octocat/.github/workflows/workflow.yaml@not-a-branch `; const result = await validate(createDocument("wf.yaml", input), { fileProvider: testFileProvider @@ -58,7 +58,7 @@ jobs: line: 5 }, end: { - character: 53, + character: 71, line: 5 } } @@ -72,7 +72,7 @@ on: push jobs: build: - uses: monalisa/octocat/workflow.yaml@main + uses: monalisa/octocat/.github/workflows/workflow.yaml@main `; const result = await validate(createDocument("wf.yaml", input), { fileProvider: testFileProvider @@ -87,7 +87,7 @@ on: push jobs: build: - uses: ./reusable-workflow.yaml + uses: ./.github/workflows/reusable-workflow.yaml `; const result = await validate(createDocument("wf.yaml", input), { fileProvider: testFileProvider @@ -102,7 +102,7 @@ on: push jobs: build: - uses: ./reusable-workflow-with-inputs.yaml + uses: ./.github/workflows/reusable-workflow-with-inputs.yaml secrets: envPAT: pat `; @@ -119,7 +119,7 @@ jobs: line: 5 }, end: { - character: 46, + character: 64, line: 5 } } @@ -133,7 +133,7 @@ on: push jobs: build: - uses: ./reusable-workflow-with-inputs.yaml + uses: ./.github/workflows/reusable-workflow-with-inputs.yaml with: username: monalisa secrets: diff --git a/languageservice/src/validate.yaml-anchors.test.ts b/languageservice/src/validate.yaml-anchors.test.ts new file mode 100644 index 0000000..6920b1a --- /dev/null +++ b/languageservice/src/validate.yaml-anchors.test.ts @@ -0,0 +1,202 @@ +import {validate} from "./validate"; +import {createDocument} from "./test-utils/document"; +import {clearCache} from "./utils/workflow-cache"; + +beforeEach(() => { + clearCache(); +}); + +describe("YAML anchors and aliases", () => { + it("should handle anchors and aliases in env", async () => { + const doc = createDocument( + "wf.yaml", + ` +on: push +jobs: + job1: + runs-on: ubuntu-latest + env: &env + ENV1: env1 + ENV2: env2 + steps: + - run: exit 0 + job2: + runs-on: ubuntu-latest + env: *env + steps: + - run: exit 0 +` + ); + const result = await validate(doc); + expect(result).toEqual([]); + }); + + it("should handle multiple aliases to the same anchor", async () => { + const doc = createDocument( + "wf.yaml", + ` +on: push +env: &shared + SHARED: true +jobs: + job1: + runs-on: ubuntu-latest + env: *shared + steps: + - run: exit 0 + job2: + runs-on: ubuntu-latest + env: *shared + steps: + - run: exit 0 + job3: + runs-on: ubuntu-latest + env: *shared + steps: + - run: exit 0 +` + ); + const result = await validate(doc); + expect(result).toEqual([]); + }); + + it("should handle anchors in matrix strategy", async () => { + const doc = createDocument( + "wf.yaml", + ` +on: push +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + include: &matrix-include + - os: ubuntu-latest + node: 18 + - os: windows-latest + node: 20 + steps: + - run: exit 0 + test2: + runs-on: ubuntu-latest + strategy: + matrix: + include: *matrix-include + steps: + - run: exit 0 +` + ); + const result = await validate(doc); + expect(result).toEqual([]); + }); + + it("should handle anchors in steps", async () => { + const doc = createDocument( + "wf.yaml", + ` +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - &checkout + uses: actions/checkout@v4 + - run: npm test + deploy: + runs-on: ubuntu-latest + steps: + - *checkout + - run: npm run deploy +` + ); + const result = await validate(doc); + expect(result).toEqual([]); + }); + + it("should handle scalar anchors", async () => { + const doc = createDocument( + "wf.yaml", + ` +on: push +jobs: + build: + runs-on: &runner ubuntu-latest + steps: + - run: exit 0 + test: + runs-on: *runner + steps: + - run: exit 0 +` + ); + const result = await validate(doc); + expect(result).toEqual([]); + }); + + it("should work without anchors (control test)", async () => { + const doc = createDocument( + "wf.yaml", + ` +on: push +jobs: + job1: + runs-on: ubuntu-latest + env: + ENV1: env1 + ENV2: env2 + steps: + - run: exit 0 + job2: + runs-on: ubuntu-latest + env: + ENV1: env1 + ENV2: env2 + steps: + - run: exit 0 +` + ); + const result = await validate(doc); + expect(result).toEqual([]); + }); + + it("should handle circular aliases without hanging", async () => { + // This is an invalid use case (alias referencing parent) but should not hang + const doc = createDocument( + "wf.yaml", + ` +on: push +jobs: + build: + runs-on: ubuntu-latest + env: &myenv + FOO: bar + nested: *myenv + steps: + - run: exit 0 +` + ); + // Should complete without hanging - circular portion is silently ignored + // which may cause downstream validation errors, but that's acceptable + const result = await validate(doc); + expect(result).toBeDefined(); + }); + + it("should handle undefined alias references", async () => { + // Reference to non-existent anchor - yaml library should report error + const doc = createDocument( + "wf.yaml", + ` +on: push +jobs: + build: + runs-on: ubuntu-latest + env: *nonexistent + steps: + - run: exit 0 +` + ); + const result = await validate(doc); + expect(result).toBeDefined(); + expect(result.length).toBeGreaterThan(0); + }); +}); diff --git a/lerna.json b/lerna.json index f74e517..76d2a5c 100644 --- a/lerna.json +++ b/lerna.json @@ -6,5 +6,5 @@ "languageservice", "languageserver" ], - "version": "0.3.17" + "version": "0.3.25" } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 2fc195d..b9c864d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -135,7 +135,7 @@ }, "expressions": { "name": "@actions/expressions", - "version": "0.3.17", + "version": "0.3.25", "license": "MIT", "devDependencies": { "@types/jest": "^29.0.3", @@ -151,7 +151,7 @@ "typescript": "^4.7.4" }, "engines": { - "node": ">= 16.15" + "node": ">= 18" } }, "expressions/node_modules/@eslint/eslintrc": { @@ -340,9 +340,9 @@ } }, "expressions/node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", "dev": true, "dependencies": { "argparse": "^2.0.1" @@ -395,11 +395,11 @@ }, "languageserver": { "name": "@actions/languageserver", - "version": "0.3.17", + "version": "0.3.25", "license": "MIT", "dependencies": { - "@actions/languageservice": "^0.3.17", - "@actions/workflow-parser": "^0.3.17", + "@actions/languageservice": "^0.3.25", + "@actions/workflow-parser": "^0.3.25", "@octokit/rest": "^21.1.1", "@octokit/types": "^9.0.0", "vscode-languageserver": "^8.0.2", @@ -421,7 +421,7 @@ "typescript": "^4.8.4" }, "engines": { - "node": ">= 16.15" + "node": ">= 18" } }, "languageserver/node_modules/@eslint/eslintrc": { @@ -921,11 +921,11 @@ }, "languageservice": { "name": "@actions/languageservice", - "version": "0.3.17", + "version": "0.3.25", "license": "MIT", "dependencies": { - "@actions/expressions": "^0.3.17", - "@actions/workflow-parser": "^0.3.17", + "@actions/expressions": "^0.3.25", + "@actions/workflow-parser": "^0.3.25", "vscode-languageserver-textdocument": "^1.0.7", "vscode-languageserver-types": "^3.17.2", "vscode-uri": "^3.0.8", @@ -947,7 +947,7 @@ "typescript": "^4.8.4" }, "engines": { - "node": ">= 16.15" + "node": ">= 18" } }, "languageservice/node_modules/@eslint/eslintrc": { @@ -1136,9 +1136,9 @@ } }, "languageservice/node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", "dev": true, "dependencies": { "argparse": "^2.0.1" @@ -1218,89 +1218,19 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.22.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", - "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", + "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", "dev": true, "dependencies": { - "@babel/highlight": "^7.22.13", - "chalk": "^2.4.2" + "@babel/helper-validator-identifier": "^7.27.1", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/code-frame/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/code-frame/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/code-frame/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@babel/code-frame/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/@babel/code-frame/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@babel/code-frame/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/code-frame/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/@babel/compat-data": { "version": "7.20.1", "dev": true, @@ -1483,18 +1413,18 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", + "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", + "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", "dev": true, "engines": { "node": ">=6.9.0" @@ -1509,13 +1439,13 @@ } }, "node_modules/@babel/helpers": { - "version": "7.20.1", + "version": "7.28.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.4.tgz", + "integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==", "dev": true, - "license": "MIT", "dependencies": { - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.20.1", - "@babel/types": "^7.20.0" + "@babel/template": "^7.27.2", + "@babel/types": "^7.28.4" }, "engines": { "node": ">=6.9.0" @@ -1600,10 +1530,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", - "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz", + "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==", "dev": true, + "dependencies": { + "@babel/types": "^7.28.5" + }, "bin": { "parser": "bin/babel-parser.js" }, @@ -1786,14 +1719,14 @@ } }, "node_modules/@babel/template": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", - "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz", + "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/parser": "^7.22.15", - "@babel/types": "^7.22.15" + "@babel/code-frame": "^7.27.1", + "@babel/parser": "^7.27.2", + "@babel/types": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1821,14 +1754,13 @@ } }, "node_modules/@babel/types": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", - "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz", + "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==", "dev": true, "dependencies": { - "@babel/helper-string-parser": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.20", - "to-fast-properties": "^2.0.0" + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.28.5" }, "engines": { "node": ">=6.9.0" @@ -4231,12 +4163,10 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": { - "version": "7.3.8", + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -4361,12 +4291,10 @@ } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { - "version": "7.3.8", + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -4402,12 +4330,10 @@ } }, "node_modules/@typescript-eslint/utils/node_modules/semver": { - "version": "7.3.8", + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -4877,9 +4803,10 @@ } }, "node_modules/brace-expansion": { - "version": "1.1.11", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, - "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -6265,12 +6192,10 @@ } }, "node_modules/eslint/node_modules/semver": { - "version": "7.3.8", + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -6760,15 +6685,16 @@ } }, "node_modules/form-data": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz", - "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", "dev": true, "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", "mime-types": "^2.1.12" }, "engines": { @@ -8391,12 +8317,10 @@ } }, "node_modules/jest-snapshot/node_modules/semver": { - "version": "7.3.8", + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -8509,9 +8433,10 @@ "license": "MIT" }, "node_modules/js-yaml": { - "version": "3.14.1", + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz", + "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==", "dev": true, - "license": "MIT", "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" @@ -9513,11 +9438,12 @@ } }, "node_modules/micromatch": { - "version": "4.0.5", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, - "license": "MIT", "dependencies": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" }, "engines": { @@ -10759,9 +10685,10 @@ } }, "node_modules/picocolors": { - "version": "1.0.0", - "dev": true, - "license": "ISC" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true }, "node_modules/picomatch": { "version": "2.3.1", @@ -11523,9 +11450,10 @@ "license": "MIT" }, "node_modules/semver": { - "version": "6.3.0", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, - "license": "ISC", "bin": { "semver": "bin/semver.js" } @@ -12146,14 +12074,6 @@ "dev": true, "license": "BSD-3-Clause" }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -12234,12 +12154,10 @@ } }, "node_modules/ts-jest/node_modules/semver": { - "version": "7.3.8", + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -12916,10 +12834,10 @@ }, "workflow-parser": { "name": "@actions/workflow-parser", - "version": "0.3.17", + "version": "0.3.25", "license": "MIT", "dependencies": { - "@actions/expressions": "^0.3.17", + "@actions/expressions": "^0.3.25", "cronstrue": "^2.21.0", "yaml": "^2.0.0-8" }, @@ -12937,7 +12855,7 @@ "typescript": "^4.8.4" }, "engines": { - "node": ">= 16.15" + "node": ">= 18" } } } diff --git a/package.json b/package.json index 8d5d810..96bf816 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "actions-languageservices", "private": true, + "type": "module", "workspaces": [ "./expressions", "./workflow-parser", diff --git a/script/minify-json.js b/script/minify-json.js new file mode 100644 index 0000000..525cddb --- /dev/null +++ b/script/minify-json.js @@ -0,0 +1,43 @@ +#!/usr/bin/env node + +/** + * Minifies JSON files by removing whitespace. + * + * Usage: node script/minify-json.js ... + * + * For each input file, creates a corresponding .min.json file. + * Example: src/data.json -> src/data.min.json + */ + +import {promises as fs} from "fs"; +import path from "path"; + +const files = process.argv.slice(2); + +if (files.length === 0) { + console.error("Usage: node script/minify-json.js ..."); + process.exit(1); +} + +for (const file of files) { + try { + const content = await fs.readFile(file, "utf8"); + const data = JSON.parse(content); + const minified = JSON.stringify(data); + + // Replace .json with .min.json + const ext = path.extname(file); + const outputFile = file.slice(0, -ext.length) + ".min" + ext; + + await fs.writeFile(outputFile, minified); + + const originalSize = Buffer.byteLength(content, "utf8"); + const minifiedSize = Buffer.byteLength(minified, "utf8"); + const savings = ((1 - minifiedSize / originalSize) * 100).toFixed(1); + + console.log(`${file} -> ${outputFile} (${savings}% smaller)`); + } catch (err) { + console.error(`Error processing ${file}:`, err); + process.exit(1); + } +} diff --git a/workflow-parser/package.json b/workflow-parser/package.json index a08ceb6..94ab502 100644 --- a/workflow-parser/package.json +++ b/workflow-parser/package.json @@ -1,6 +1,6 @@ { "name": "@actions/workflow-parser", - "version": "0.3.17", + "version": "0.3.25", "license": "MIT", "type": "module", "source": "./src/index.ts", @@ -9,10 +9,12 @@ }, "exports": { ".": { - "import": "./dist/index.js" + "import": "./dist/index.js", + "types": "./dist/index.d.ts" }, "./*": { - "import": "./dist/*.js" + "import": "./dist/*.js", + "types": "./dist/*.d.ts" } }, "typesVersions": { @@ -36,19 +38,22 @@ "format-check": "prettier --check '**/*.ts'", "lint": "eslint 'src/**/*.ts'", "lint-fix": "eslint --fix 'src/**/*.ts'", + "minify-json": "node ../script/minify-json.js src/workflow-v1.0.json", + "prebuild": "npm run minify-json", "prepublishOnly": "npm run build && npm run test", + "pretest": "npm run minify-json", "test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest", "test-xlang": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --testPathPattern xlang", "test-watch": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --watch", "watch": "tsc --build tsconfig.build.json --watch" }, "dependencies": { - "@actions/expressions": "^0.3.17", + "@actions/expressions": "^0.3.25", "cronstrue": "^2.21.0", "yaml": "^2.0.0-8" }, "engines": { - "node": ">= 16.15" + "node": ">= 18" }, "files": [ "dist/**/*" diff --git a/workflow-parser/src/expressions.test.ts b/workflow-parser/src/expressions.test.ts index cf22c62..01758fe 100644 --- a/workflow-parser/src/expressions.test.ts +++ b/workflow-parser/src/expressions.test.ts @@ -194,10 +194,11 @@ jobs: const jobs = workflowRoot.get(1).value.assertMapping("jobs"); const build = jobs.get(0).value.assertMapping("job"); const ifToken = build.get(1).value; - expect(ifToken.toString()).toEqual("${{ github.event_name == 'push' }}"); + // Without isExpression: true, the value is kept as a string until convertToIfCondition processes it + expect(ifToken.toString()).toEqual("github.event_name == 'push'"); - if (!isBasicExpression(ifToken)) { - throw new Error("expected if to be a basic expression"); + if (!isString(ifToken)) { + throw new Error("expected if to be a string (will be converted to expression later)"); } }); }); diff --git a/workflow-parser/src/model/convert.test.ts b/workflow-parser/src/model/convert.test.ts index cd7f495..d15584d 100644 --- a/workflow-parser/src/model/convert.test.ts +++ b/workflow-parser/src/model/convert.test.ts @@ -74,7 +74,7 @@ jobs: { id: "build", if: { - expr: "success()", + expr: "success() && (true)", type: 3 }, name: "build", @@ -85,7 +85,7 @@ jobs: { id: "deploy", if: { - expr: "success()", + expr: "success() && (true)", type: 3 }, name: "deploy", @@ -382,4 +382,200 @@ jobs: ] }); }); + + describe("if condition context validation", () => { + it("validates job-level if with allowed contexts", async () => { + const result = parseWorkflow( + { + name: "wf.yaml", + content: `on: push +jobs: + build: + if: github.event_name == 'push' && needs.test.result == 'success' + needs: test + runs-on: ubuntu-latest + test: + runs-on: ubuntu-latest` + }, + nullTrace + ); + + const template = await convertWorkflowTemplate(result.context, result.value!, undefined, { + errorPolicy: ErrorPolicy.TryConversion + }); + + // Should convert successfully - github and needs are allowed in job-level if + expect(result.context.errors.getErrors()).toHaveLength(0); + expect(template.jobs).toHaveLength(2); + }); + + it("validates job-level if rejects disallowed contexts", async () => { + const result = parseWorkflow( + { + name: "wf.yaml", + content: `on: push +jobs: + build: + if: steps.test.outcome == 'success' + runs-on: ubuntu-latest + steps: + - id: test + run: echo hello` + }, + nullTrace + ); + + await convertWorkflowTemplate(result.context, result.value!, undefined, { + errorPolicy: ErrorPolicy.TryConversion + }); + + // Should have error - steps context not allowed in job-level if + const errors = result.context.errors.getErrors(); + expect(errors.length).toBeGreaterThan(0); + const errorMessages = errors.map(e => e.message).join(" "); + expect(errorMessages.toLowerCase()).toMatch(/steps|context/); + }); + + it("validates step-level if allows all contexts", async () => { + const result = parseWorkflow( + { + name: "wf.yaml", + content: `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - id: first + run: echo hello + - if: steps.first.outcome == 'success' && job.status == 'success' + run: echo world` + }, + nullTrace + ); + + const template = await convertWorkflowTemplate(result.context, result.value!, undefined, { + errorPolicy: ErrorPolicy.TryConversion + }); + + // Should convert successfully - steps and job contexts allowed in step-level if + expect(result.context.errors.getErrors()).toHaveLength(0); + expect(template.jobs).toHaveLength(1); + }); + + it("handles case-insensitive status functions in if conditions", async () => { + const result = parseWorkflow( + { + name: "wf.yaml", + content: `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - if: Success() + run: echo "uppercase Success" + - if: FAILURE() + run: echo "uppercase FAILURE" + - if: Cancelled() || Always() + run: echo "mixed case"` + }, + nullTrace + ); + + const template = await convertWorkflowTemplate(result.context, result.value!, undefined, { + errorPolicy: ErrorPolicy.TryConversion + }); + + // Should convert successfully - status functions are case-insensitive + expect(result.context.errors.getErrors()).toHaveLength(0); + expect(template.jobs).toHaveLength(1); + + // Verify the conditions are preserved without wrapping in success() && + const job = template.jobs[0]; + expect(job.type).toBe("job"); + if (job.type === "job") { + expect(job.steps[0].if?.expression).toBe("Success()"); + expect(job.steps[1].if?.expression).toBe("FAILURE()"); + expect(job.steps[2].if?.expression).toBe("Cancelled() || Always()"); + } + }); + + it("handles empty if condition", async () => { + const result = parseWorkflow( + { + name: "wf.yaml", + content: `on: push +jobs: + job1: + if: "" + runs-on: ubuntu-latest + steps: + - run: echo hello + job2: + if: '' + runs-on: ubuntu-latest + steps: + - if: "" + run: echo world + - if: '' + run: echo test` + }, + nullTrace + ); + + const template = await convertWorkflowTemplate(result.context, result.value!, undefined, { + errorPolicy: ErrorPolicy.TryConversion + }); + + // Empty conditions should default to success() + expect(result.context.errors.getErrors()).toHaveLength(0); + expect(template.jobs).toHaveLength(2); + + const job1 = template.jobs[0]; + expect(job1.if?.expression).toBe("success()"); + + const job2 = template.jobs[1]; + expect(job2.if?.expression).toBe("success()"); + + if (job2.type === "job") { + expect(job2.steps[0].if?.expression).toBe("success()"); + expect(job2.steps[1].if?.expression).toBe("success()"); + } + }); + + it("handles status functions with property access", async () => { + const result = parseWorkflow( + { + name: "wf.yaml", + content: `on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - if: success().outputs.result + run: echo "success with property" + - if: failure().outputs.value + run: echo "failure with property" + - if: always() && steps.test.outcome + run: echo "always with &&"` + }, + nullTrace + ); + + const template = await convertWorkflowTemplate(result.context, result.value!, undefined, { + errorPolicy: ErrorPolicy.TryConversion + }); + + // Should not wrap - status functions are present even with property access + expect(result.context.errors.getErrors()).toHaveLength(0); + expect(template.jobs).toHaveLength(1); + + const job = template.jobs[0]; + expect(job.type).toBe("job"); + if (job.type === "job") { + expect(job.steps[0].if?.expression).toBe("success().outputs.result"); + expect(job.steps[1].if?.expression).toBe("failure().outputs.value"); + expect(job.steps[2].if?.expression).toBe("always() && steps.test.outcome"); + } + }); + }); }); diff --git a/workflow-parser/src/model/converter/cron.test.ts b/workflow-parser/src/model/converter/cron.test.ts index 18075a9..f8ef4df 100644 --- a/workflow-parser/src/model/converter/cron.test.ts +++ b/workflow-parser/src/model/converter/cron.test.ts @@ -1,4 +1,4 @@ -import {isValidCron, getCronDescription} from "./cron"; +import {isValidCron, getCronDescription, hasCronIntervalLessThan5Minutes} from "./cron"; describe("cron", () => { describe("valid cron", () => { @@ -66,14 +66,54 @@ describe("cron", () => { describe("getCronDescription", () => { it(`Produces a sentence for valid cron`, () => { - expect(getCronDescription("0 * * * *")).toEqual( - "Runs every hour\n\n" + - "Actions schedules run at most every 5 minutes. [Learn more](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#onschedule)" - ); + expect(getCronDescription("0 * * * *")).toEqual("Runs every hour"); }); it(`Returns nothing for invalid cron`, () => { expect(getCronDescription("* * * * * *")).toBeUndefined(); }); }); + + describe("hasCronIntervalLessThan5Minutes", () => { + it("returns true for step expressions with interval < 5 min", () => { + expect(hasCronIntervalLessThan5Minutes("*/1 * * * *")).toBe(true); + expect(hasCronIntervalLessThan5Minutes("*/4 * * * *")).toBe(true); + }); + + it("returns false for step expressions with interval >= 5 min", () => { + expect(hasCronIntervalLessThan5Minutes("*/5 * * * *")).toBe(false); + expect(hasCronIntervalLessThan5Minutes("*/15 * * * *")).toBe(false); + }); + + it("returns true for comma-separated values with gap < 5 min", () => { + expect(hasCronIntervalLessThan5Minutes("0,2,4 * * * *")).toBe(true); + expect(hasCronIntervalLessThan5Minutes("0,10,12 * * * *")).toBe(true); + }); + + it("returns false for comma-separated values with gap >= 5 min", () => { + expect(hasCronIntervalLessThan5Minutes("0,10,20 * * * *")).toBe(false); + expect(hasCronIntervalLessThan5Minutes("0,30 * * * *")).toBe(false); + }); + + it("returns true for comma-separated values with wrap-around gap < 5 min", () => { + expect(hasCronIntervalLessThan5Minutes("0,58 * * * *")).toBe(true); + expect(hasCronIntervalLessThan5Minutes("2,59 * * * *")).toBe(true); + }); + + it("returns true for * (every minute)", () => { + expect(hasCronIntervalLessThan5Minutes("* * * * *")).toBe(true); + }); + + it("returns true for range expressions (runs every minute in range)", () => { + expect(hasCronIntervalLessThan5Minutes("0-4 * * * *")).toBe(true); + }); + + it("returns false for single value (hourly)", () => { + expect(hasCronIntervalLessThan5Minutes("0 * * * *")).toBe(false); + }); + + it("returns false for invalid cron", () => { + expect(hasCronIntervalLessThan5Minutes("invalid")).toBe(false); + }); + }); }); diff --git a/workflow-parser/src/model/converter/cron.ts b/workflow-parser/src/model/converter/cron.ts index b104eed..41062f0 100644 --- a/workflow-parser/src/model/converter/cron.ts +++ b/workflow-parser/src/model/converter/cron.ts @@ -8,6 +8,78 @@ type Range = { names?: Record; }; +/** + * Checks if a cron expression specifies an interval shorter than 5 minutes. + * GitHub Actions schedules run at most every 5 minutes, so intervals < 5 min won't work as expected. + */ +export function hasCronIntervalLessThan5Minutes(cron: string): boolean { + if (!isValidCron(cron)) { + return false; + } + + const parts = cron.split(/ +/); + const minutePart = parts[0]; + + // Parse the minute field to determine the effective interval + return getMinuteInterval(minutePart) < 5; +} + +/** + * Gets the minimum interval in minutes between cron executions based on the minute field. + * Returns 60 if there's only one execution per hour, otherwise returns the minimum gap. + */ +function getMinuteInterval(minutePart: string): number { + // Handle step expressions like */1, */3, 0-59/2 + if (minutePart.includes("/")) { + const [, step] = minutePart.split("/"); + const stepNum = parseInt(step, 10); + if (!isNaN(stepNum) && stepNum > 0) { + return stepNum; + } + } + + // Handle comma-separated values like 0,2,4 or 0,1,5,10 + if (minutePart.includes(",")) { + const values = minutePart + .split(",") + .map(v => parseInt(v, 10)) + .filter(n => !isNaN(n)) + .sort((a, b) => a - b); + if (values.length >= 2) { + let minGap = 60; + for (let i = 1; i < values.length; i++) { + const gap = values[i] - values[i - 1]; + if (gap < minGap) { + minGap = gap; + } + } + // Check wrap-around gap from last minute to first minute of next hour + const wrapGap = values[0] + 60 - values[values.length - 1]; + if (wrapGap < minGap) { + minGap = wrapGap; + } + return minGap; + } + } + + // Handle range expressions like 0-4 (runs every minute from 0-4) + if (minutePart.includes("-") && !minutePart.includes("/")) { + const [start, end] = minutePart.split("-").map(v => parseInt(v, 10)); + if (!isNaN(start) && !isNaN(end) && end > start) { + // A range without step means every minute in that range + return 1; + } + } + + // * means every minute + if (minutePart === "*") { + return 1; + } + + // Single value or unrecognized pattern - assume hourly (60 min interval) + return 60; +} + export function isValidCron(cron: string): boolean { // https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule @@ -46,11 +118,7 @@ export function getCronDescription(cronspec: string): string | undefined { } // Make first character lowercase - let result = "Runs " + desc.charAt(0).toLowerCase() + desc.slice(1); - result += - "\n\nActions schedules run at most every 5 minutes." + - " [Learn more](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#onschedule)"; - return result; + return "Runs " + desc.charAt(0).toLowerCase() + desc.slice(1); } function validateCronPart(value: string, range: Range, allowSeparators = true): boolean { diff --git a/workflow-parser/src/model/converter/events.ts b/workflow-parser/src/model/converter/events.ts index 2d4ba2d..f2b5841 100644 --- a/workflow-parser/src/model/converter/events.ts +++ b/workflow-parser/src/model/converter/events.ts @@ -7,10 +7,12 @@ import {TokenType} from "../../templates/tokens/types"; import { BranchFilterConfig, EventsConfig, + NamesFilterConfig, PathFilterConfig, ScheduleConfig, TagFilterConfig, TypesFilterConfig, + VersionsFilterConfig, WorkflowFilterConfig } from "../workflow-template"; import {isValidCron} from "./cron"; @@ -76,10 +78,11 @@ export function convertOn(context: TemplateContext, token: TemplateToken): Event ...convertPatternFilter("tags", eventToken), ...convertPatternFilter("paths", eventToken), ...convertFilter("types", eventToken), + ...convertFilter("versions", eventToken), + ...convertFilter("names", eventToken), ...convertFilter("workflows", eventToken) }; } - return result; } @@ -121,8 +124,8 @@ function convertPatternFilter( - name: "types" | "workflows", +function convertFilter( + name: "types" | "workflows" | "versions" | "names", token: MappingToken ): T { const result = {} as T; @@ -155,7 +158,7 @@ function convertSchedule(context: TemplateContext, token: SequenceToken): Schedu const cron = schedule.value.assertString(`schedule cron`); // Validate the cron string if (!isValidCron(cron.value)) { - context.error(cron, "Invalid cron string"); + context.error(cron, "Invalid cron expression. Expected format: '* * * * *' (minute hour day month weekday)"); } result.push({cron: cron.value}); } else { diff --git a/workflow-parser/src/model/converter/if-condition.ts b/workflow-parser/src/model/converter/if-condition.ts new file mode 100644 index 0000000..66dbb18 --- /dev/null +++ b/workflow-parser/src/model/converter/if-condition.ts @@ -0,0 +1,138 @@ +import {Lexer, Parser} from "@actions/expressions"; +import {Binary, Expr, FunctionCall, Grouping, IndexAccess, Logical, Unary} from "@actions/expressions/ast"; +import {DefinitionInfo} from "../../templates/schema/definition-info"; +import {splitAllowedContext} from "../../templates/allowed-context"; +import {TemplateContext} from "../../templates/template-context"; +import {BasicExpressionToken, ExpressionToken, TemplateToken} from "../../templates/tokens"; + +/** + * Ensures a condition expression contains a status function call. + * If the condition doesn't contain success(), failure(), cancelled(), or always(), + * wraps it in `success() && (condition)`. + * + * Parses the expression to accurately detect status functions, avoiding false positives + * from string literals or property access. If parsing fails (e.g., partially typed expression), + * returns the original condition unchanged to allow validation to report the actual error. + * + * @param condition The condition expression to check + * @param definitionInfo Schema definition containing allowed contexts for parsing + * @returns The condition with status function guaranteed, or original on parse error + */ +export function ensureStatusFunction(condition: string, definitionInfo: DefinitionInfo | undefined): string { + const allowedContext = definitionInfo?.allowedContext || []; + + try { + const {namedContexts, functions} = splitAllowedContext(allowedContext); + const lexer = new Lexer(condition); + const result = lexer.lex(); + const parser = new Parser(result.tokens, namedContexts, functions); + const tree = parser.parse(); + + // Check if tree contains status function + if (walkTreeToFindStatusFunctionCalls(tree)) { + return condition; // Already has status function + } + + // Wrap it + return `success() && (${condition})`; + } catch { + // Parse error - return original and let validation report the actual error + // This is important for hover/autocomplete on partially-typed expressions + return condition; + } +} + +/** + * Converts an if condition token to a BasicExpressionToken. + * Treats the value as a string and parses it as an expression. + * Wraps the condition in success() && (...) if it doesn't already contain a status function. + * This allows both 'if: success()' and 'if: ${{ success() }}' to work correctly. + * + * Reads the allowed context directly from the schema definition attached to the token, + * ensuring consistency with the schema. + * + * @param context The template context for error reporting + * @param token The token containing the if condition + * @returns A BasicExpressionToken with the processed condition, or undefined on error + */ +export function convertToIfCondition(context: TemplateContext, token: TemplateToken): BasicExpressionToken | undefined { + const scalar = token.assertScalar("if condition"); + + // Get allowed context from the schema definition attached to the token + const allowedContext = token.definitionInfo?.allowedContext || []; + + // If it's already an expression, use its value + let condition: string; + let source: string | undefined; + + if (scalar instanceof BasicExpressionToken) { + condition = scalar.expression; + source = scalar.source; + } else { + // Otherwise, treat it as a string + const stringToken = scalar.assertString("if condition"); + condition = stringToken.value.trim(); + source = stringToken.source; + } + + let finalCondition: string; + if (!condition) { + // Empty condition defaults to success() + finalCondition = "success()"; + } else { + // Ensure the condition has a status function, wrapping if needed + finalCondition = ensureStatusFunction(condition, token.definitionInfo); + } + + // Validate the expression before creating the token + try { + ExpressionToken.validateExpression(finalCondition, allowedContext); + } catch (err) { + context.error(token, err as Error); + return undefined; + } + + // Create a BasicExpressionToken with the final condition + return new BasicExpressionToken(token.file, token.range, finalCondition, token.definitionInfo, undefined, source); +} + +/** + * Walks an expression AST to find status function calls (success, failure, cancelled, always). + * Recursively checks all nodes including function arguments and logical/binary operations. + */ +function walkTreeToFindStatusFunctionCalls(tree: Expr | undefined): boolean { + if (!tree) { + return false; + } + + if (tree instanceof FunctionCall) { + const funcName = tree.functionName.lexeme.toLowerCase(); + if (funcName === "success" || funcName === "failure" || funcName === "cancelled" || funcName === "always") { + return true; + } + // Check arguments recursively + return tree.args.some(arg => walkTreeToFindStatusFunctionCalls(arg)); + } + + if (tree instanceof Binary) { + return walkTreeToFindStatusFunctionCalls(tree.left) || walkTreeToFindStatusFunctionCalls(tree.right); + } + + if (tree instanceof Unary) { + return walkTreeToFindStatusFunctionCalls(tree.expr); + } + + if (tree instanceof Logical) { + return tree.args.some(arg => walkTreeToFindStatusFunctionCalls(arg)); + } + + if (tree instanceof Grouping) { + return walkTreeToFindStatusFunctionCalls(tree.group); + } + + if (tree instanceof IndexAccess) { + return walkTreeToFindStatusFunctionCalls(tree.expr) || walkTreeToFindStatusFunctionCalls(tree.index); + } + + return false; +} diff --git a/workflow-parser/src/model/converter/job.ts b/workflow-parser/src/model/converter/job.ts index 1886207..c3081f3 100644 --- a/workflow-parser/src/model/converter/job.ts +++ b/workflow-parser/src/model/converter/job.ts @@ -2,6 +2,7 @@ import {TemplateContext} from "../../templates/template-context"; import {BasicExpressionToken, MappingToken, ScalarToken, StringToken, TemplateToken} from "../../templates/tokens"; import {isSequence, isString} from "../../templates/tokens/type-guards"; import {Step, WorkflowJob} from "../workflow-template"; +import {convertToIfCondition} from "./if-condition"; import {convertConcurrency} from "./concurrency"; import {convertToJobContainer, convertToJobServices} from "./container"; import {handleTemplateTokenErrors} from "./handle-errors"; @@ -16,7 +17,17 @@ export function convertJob(context: TemplateContext, jobKey: StringToken, token: context.error(jobKey, error); } - let concurrency, container, env, environment, name, outputs, runsOn, services, strategy: TemplateToken | undefined; + let concurrency, + container, + env, + environment, + ifCondition, + name, + outputs, + runsOn, + services, + strategy, + snapshot: TemplateToken | undefined; let needs: StringToken[] | undefined = undefined; let steps: Step[] = []; let workflowJobRef: StringToken | undefined; @@ -50,6 +61,10 @@ export function convertJob(context: TemplateContext, jobKey: StringToken, token: environment = item.value; break; + case "if": + ifCondition = convertToIfCondition(context, item.value); + break; + case "name": name = item.value.assertScalar("job name"); break; @@ -86,6 +101,10 @@ export function convertJob(context: TemplateContext, jobKey: StringToken, token: services = item.value; break; + case "snapshot": + snapshot = item.value; + break; + case "steps": steps = convertSteps(context, item.value); break; @@ -121,7 +140,7 @@ export function convertJob(context: TemplateContext, jobKey: StringToken, token: id: jobKey, name: jobName(name, jobKey), needs: needs || [], - if: new BasicExpressionToken(undefined, undefined, "success()", undefined, undefined, undefined), + if: ifCondition || new BasicExpressionToken(undefined, undefined, "success()", undefined, undefined, undefined), ref: workflowJobRef, "input-definitions": undefined, "input-values": workflowJobInputs, @@ -138,7 +157,7 @@ export function convertJob(context: TemplateContext, jobKey: StringToken, token: id: jobKey, name: jobName(name, jobKey), needs, - if: new BasicExpressionToken(undefined, undefined, "success()", undefined, undefined, undefined), + if: ifCondition || new BasicExpressionToken(undefined, undefined, "success()", undefined, undefined, undefined), env, concurrency, environment, @@ -147,7 +166,8 @@ export function convertJob(context: TemplateContext, jobKey: StringToken, token: container, services, outputs, - steps + steps, + snapshot }; } } diff --git a/workflow-parser/src/model/converter/steps.ts b/workflow-parser/src/model/converter/steps.ts index 05793a5..4745949 100644 --- a/workflow-parser/src/model/converter/steps.ts +++ b/workflow-parser/src/model/converter/steps.ts @@ -2,6 +2,7 @@ import {TemplateContext} from "../../templates/template-context"; import {BasicExpressionToken, MappingToken, ScalarToken, StringToken, TemplateToken} from "../../templates/tokens"; import {isSequence} from "../../templates/tokens/type-guards"; import {isActionStep} from "../type-guards"; +import {convertToIfCondition} from "./if-condition"; import {ActionStep, Step} from "../workflow-template"; import {handleTemplateTokenErrors} from "./handle-errors"; import {IdBuilder} from "./id-builder"; @@ -52,7 +53,7 @@ function convertStep(context: TemplateContext, idBuilder: IdBuilder, step: Templ let uses: StringToken | undefined; let continueOnError: boolean | ScalarToken | undefined; let env: MappingToken | undefined; - const ifCondition = new BasicExpressionToken(undefined, undefined, "success()", undefined, undefined, undefined); + let ifCondition: BasicExpressionToken | undefined; for (const item of mapping) { const key = item.key.assertString("steps item key"); switch (key.value) { @@ -77,6 +78,9 @@ function convertStep(context: TemplateContext, idBuilder: IdBuilder, step: Templ case "env": env = item.value.assertMapping("step env"); break; + case "if": + ifCondition = convertToIfCondition(context, item.value); + break; case "continue-on-error": if (!item.value.isExpression) { continueOnError = item.value.assertBoolean("steps item continue-on-error").value; @@ -90,7 +94,7 @@ function convertStep(context: TemplateContext, idBuilder: IdBuilder, step: Templ return { id: id?.value || "", name, - if: ifCondition, + if: ifCondition || new BasicExpressionToken(undefined, undefined, "success()", undefined, undefined, undefined), "continue-on-error": continueOnError, env, run @@ -101,7 +105,7 @@ function convertStep(context: TemplateContext, idBuilder: IdBuilder, step: Templ return { id: id?.value || "", name, - if: ifCondition, + if: ifCondition || new BasicExpressionToken(undefined, undefined, "success()", undefined, undefined, undefined), "continue-on-error": continueOnError, env, uses diff --git a/workflow-parser/src/model/workflow-template.ts b/workflow-parser/src/model/workflow-template.ts index 679da4f..448b67d 100644 --- a/workflow-parser/src/model/workflow-template.ts +++ b/workflow-parser/src/model/workflow-template.ts @@ -41,6 +41,7 @@ export type BaseJob = { concurrency?: TemplateToken; strategy?: TemplateToken; outputs?: MappingToken; + snapshot?: TemplateToken; }; // `job-factory` in the schema @@ -129,6 +130,7 @@ export type EventsConfig = { repository_dispatch?: TypesFilterConfig; release?: TypesFilterConfig; watch?: TypesFilterConfig; + image_versions?: TypesFilterConfig & VersionsFilterConfig & NamesFilterConfig; // Index signature to allow easier lookup [eventName: string]: unknown; @@ -138,6 +140,14 @@ export type TypesFilterConfig = { types?: string[]; }; +export type VersionsFilterConfig = { + versions?: string[]; +}; + +export type NamesFilterConfig = { + names?: string[]; +}; + export type BranchFilterConfig = { branches?: string[]; "branches-ignore"?: string[]; diff --git a/workflow-parser/src/schema-sync.test.ts b/workflow-parser/src/schema-sync.test.ts new file mode 100644 index 0000000..c57157f --- /dev/null +++ b/workflow-parser/src/schema-sync.test.ts @@ -0,0 +1,183 @@ +import * as fs from "fs"; + +/** + * This test ensures that activity types in workflow-v1.0.json stay in sync with + * the webhooks.json file from the languageservice package. + * + * When this test fails, it means new activity types were added to webhooks.json + * that need to be handled. See docs/json-data-files.md for detailed instructions. + * + * Quick reference for fixing failures: + * 1. Check https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows + * Find the event and look at its "Activity types" table to see if the type is a valid workflow trigger. + * 2. If the activity type IS a valid workflow trigger: + * → Add it to the corresponding *-activity-type definition in workflow-v1.0.json + * 3. If the activity type is webhook-only (not in workflow docs): + * → Add it to the WEBHOOK_ONLY list below + * 4. If there's a naming difference between webhook and schema: + * → Add it to the NAME_MAPPINGS list below + * 5. If the schema has a type not in webhooks.json: + * → Add it to the SCHEMA_ONLY list below + */ + +describe("schema-sync", () => { + // Activity types that exist in webhooks.json but are intentionally NOT + // supported as workflow triggers. These will be ignored when checking + // webhooks → schema direction. + const WEBHOOK_ONLY: Record = { + // check_suite: requested and rerequested are webhook-only, not valid workflow triggers + // See: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#check_suite + check_suite: ["requested", "rerequested"], + + // registry_package: "default" is a webhook concept, not a workflow trigger type + registry_package: ["default"] + }; + + // Activity types that exist in workflow schema but are intentionally NOT + // in webhooks.json (schema-only types). These will be ignored when checking + // schema → webhooks direction. + const SCHEMA_ONLY: Record = { + // registry_package: "updated" is a valid workflow trigger per GitHub docs + // but doesn't exist in webhooks.json (webhooks only has "published" and "default") + // See: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#registry_package + registry_package: ["updated"] + }; + + // Known naming differences between webhooks.json and workflow-v1.0.json. + // Key: event name, Value: { webhook: "webhookName", schema: "schemaName" } + // These are treated as equivalent when comparing in both directions. + const NAME_MAPPINGS: Record> = { + // project_column: webhooks.json uses "edited" but workflow triggers use "updated" + // This is a known naming difference - they represent the same action + project_column: [{webhook: "edited", schema: "updated"}] + }; + + it("activity types in workflow-v1.0.json match webhooks.json", () => { + // Load webhooks.json (relative path from the test runner CWD which is the package root) + const webhooksPath = "../languageservice/src/context-providers/events/webhooks.json"; + const webhooks = JSON.parse(fs.readFileSync(webhooksPath, "utf-8")) as Record>; + + // Load workflow-v1.0.json + const schemaPath = "./src/workflow-v1.0.json"; + const schema = JSON.parse(fs.readFileSync(schemaPath, "utf-8")) as { + definitions: Record; + }; + + const mismatches: string[] = []; + + // Build mapping helpers for each event + const getWebhookToSchemaMapping = (eventName: string): Map => { + const map = new Map(); + for (const mapping of NAME_MAPPINGS[eventName] || []) { + map.set(mapping.webhook, mapping.schema); + } + return map; + }; + + const getSchemaToWebhookMapping = (eventName: string): Map => { + const map = new Map(); + for (const mapping of NAME_MAPPINGS[eventName] || []) { + map.set(mapping.schema, mapping.webhook); + } + return map; + }; + + // Check both directions for each event + for (const [eventName, eventData] of Object.entries(webhooks)) { + const webhookTypes = Object.keys(eventData); + if (webhookTypes.length === 0) continue; + + const schemaTypeName = `${eventName.replace(/_/g, "-")}-activity-type`; + const schemaDef = schema.definitions[schemaTypeName]; + + // If there's no activity type definition in the schema, this event + // doesn't support activity types in workflows (e.g., push, pull) + if (!schemaDef || !schemaDef["allowed-values"]) continue; + + const schemaTypes = new Set(schemaDef["allowed-values"]); + const webhookOnly = new Set(WEBHOOK_ONLY[eventName] || []); + const schemaOnly = new Set(SCHEMA_ONLY[eventName] || []); + const webhookToSchema = getWebhookToSchemaMapping(eventName); + const schemaToWebhook = getSchemaToWebhookMapping(eventName); + + // Direction 1: webhooks → schema + // Check that each webhook type exists in schema (or has a mapping, or is webhook-only) + for (const webhookType of webhookTypes) { + if (webhookOnly.has(webhookType)) continue; + + const mappedSchemaType = webhookToSchema.get(webhookType); + if (mappedSchemaType) { + // Has a mapping - check the mapped name exists in schema + if (!schemaTypes.has(mappedSchemaType)) { + mismatches.push( + `Event "${eventName}": webhook type "${webhookType}" maps to "${mappedSchemaType}" but "${mappedSchemaType}" not found in schema` + ); + } + } else { + // No mapping - check the type exists directly + if (!schemaTypes.has(webhookType)) { + mismatches.push( + `Event "${eventName}": missing activity type "${webhookType}" in workflow-v1.0.json (exists in webhooks.json)` + ); + } + } + } + + // Direction 2: schema → webhooks + // Check that each schema type exists in webhooks (or has a mapping, or is schema-only) + const webhookTypesSet = new Set(webhookTypes); + for (const schemaType of schemaTypes) { + if (schemaOnly.has(schemaType)) continue; + + const mappedWebhookType = schemaToWebhook.get(schemaType); + if (mappedWebhookType) { + // Has a mapping - check the mapped name exists in webhooks + if (!webhookTypesSet.has(mappedWebhookType)) { + mismatches.push( + `Event "${eventName}": schema type "${schemaType}" maps to "${mappedWebhookType}" but "${mappedWebhookType}" not found in webhooks.json` + ); + } + } else { + // No mapping - check the type exists directly + if (!webhookTypesSet.has(schemaType)) { + mismatches.push( + `Event "${eventName}": extra activity type "${schemaType}" in workflow-v1.0.json (not in webhooks.json)` + ); + } + } + } + + // Check that the description mentions all allowed values + const activityDefName = `${eventName.replace(/_/g, "-")}-activity`; + const activityDef = schema.definitions[activityDefName]; + if (activityDef?.description) { + for (const schemaType of schemaTypes) { + if (!activityDef.description.includes(`\`${schemaType}\``)) { + mismatches.push( + `Event "${eventName}": description in "${activityDefName}" is missing activity type \`${schemaType}\`` + ); + } + } + } + } + + if (mismatches.length > 0) { + const errorMessage = [ + "Activity type mismatches found between webhooks.json and workflow-v1.0.json:", + "", + ...mismatches, + "", + "To fix these mismatches:", + "1. Check GitHub docs: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows", + "2. Verify the activity type is valid for workflow triggers", + "3. Update the *-activity-type definition in workflow-parser/src/workflow-v1.0.json", + "4. Update the description to list all supported activity types", + "5. If there's a naming difference, add it to NAME_MAPPINGS in schema-sync.test.ts", + "6. If the type is webhook-only, add it to WEBHOOK_ONLY", + "7. If the type is schema-only, add it to SCHEMA_ONLY" + ].join("\n"); + + throw new Error(errorMessage); + } + }); +}); diff --git a/workflow-parser/src/templates/template-reader.ts b/workflow-parser/src/templates/template-reader.ts index abeb362..44bce6f 100644 --- a/workflow-parser/src/templates/template-reader.ts +++ b/workflow-parser/src/templates/template-reader.ts @@ -8,7 +8,6 @@ import {DefinitionType} from "./schema/definition-type"; import {MappingDefinition} from "./schema/mapping-definition"; import {ScalarDefinition} from "./schema/scalar-definition"; import {SequenceDefinition} from "./schema/sequence-definition"; -import {StringDefinition} from "./schema/string-definition"; import {ANY, CLOSE_EXPRESSION, INSERT_DIRECTIVE, OPEN_EXPRESSION} from "./template-constants"; import {TemplateContext} from "./template-context"; import { @@ -456,14 +455,7 @@ class TemplateReader { let startExpression: number = raw.indexOf(OPEN_EXPRESSION); if (startExpression < 0) { - // Doesn't contain "${{" - // Check if value should still be evaluated as an expression - if (definitionInfo.definition instanceof StringDefinition && definitionInfo.definition.isExpression) { - const expression = this.parseIntoExpressionToken(token.range!, raw, allowedContext, token, definitionInfo); - if (expression) { - return expression; - } - } + // Doesn't contain "{{" return token; } diff --git a/workflow-parser/src/workflow-v1.0.json b/workflow-parser/src/workflow-v1.0.json index 5e24de2..12a38e7 100644 --- a/workflow-parser/src/workflow-v1.0.json +++ b/workflow-parser/src/workflow-v1.0.json @@ -99,6 +99,7 @@ "discussion_comment": "discussion-comment", "fork": "fork", "gollum": "gollum", + "image_version": "image-version", "issue_comment": "issue-comment", "issues": "issues", "label": "label", @@ -140,6 +141,7 @@ "discussion-comment-string", "fork-string", "gollum-string", + "image-version-string", "issue-comment-string", "issues-string", "label-string", @@ -436,6 +438,47 @@ "description": "Runs your workflow when someone creates or updates a Wiki page.", "null": {} }, + "image-version-string": { + "description": "Runs your workflow when an image version is created or changes state.", + "string": { + "constant": "image_version" + } + }, + "image-version": { + "description": "Runs your workflow when an image version is created or changes state.", + "one-of": [ + "null", + "image-version-mapping" + ] + }, + "image-version-mapping": { + "mapping": { + "properties": { + "types": "image-version-activity", + "names": "event-names", + "versions": "event-versions" + } + } + }, + "image-version-activity": { + "description": "The types of image version activity that trigger the workflow. Supported activity types: `created`, `ready`, `deleted`.", + "one-of": [ + "image-version-activity-type", + "image-version-activity-types" + ] + }, + "image-version-activity-types": { + "sequence": { + "item-type": "image-version-activity-type" + } + }, + "image-version-activity-type": { + "allowed-values": [ + "created", + "ready", + "deleted" + ] + }, "issue-comment-string": { "description": "Runs your workflow when an issue or pull request comment is created, edited, or deleted.", "string": { @@ -813,7 +856,7 @@ } }, "pull-request-activity": { - "description": "The types of pull request activity that trigger the workflow. Supported activity types: `assigned`, `unassigned`, `labeled`, `unlabeled`, `opened`, `edited`, `closed`, `reopened`, `synchronize`, `converted_to_draft`, `ready_for_review`, `locked`, `unlocked`, `review_requested`, `review_request_removed`, `auto_merge_enabled`, `auto_merge_disabled`.", + "description": "The types of pull request activity that trigger the workflow. Supported activity types: `assigned`, `unassigned`, `labeled`, `unlabeled`, `opened`, `edited`, `closed`, `reopened`, `synchronize`, `converted_to_draft`, `locked`, `unlocked`, `enqueued`, `dequeued`, `milestoned`, `demilestoned`, `ready_for_review`, `review_requested`, `review_request_removed`, `auto_merge_enabled`, `auto_merge_disabled`.", "one-of": [ "pull-request-activity-type", "pull-request-activity-types" @@ -836,9 +879,13 @@ "reopened", "synchronize", "converted_to_draft", - "ready_for_review", "locked", "unlocked", + "enqueued", + "dequeued", + "milestoned", + "demilestoned", + "ready_for_review", "review_requested", "review_request_removed", "auto_merge_enabled", @@ -961,7 +1008,7 @@ } }, "pull-request-target-activity": { - "description": "The types of pull request activity that trigger the workflow. Supported activity types: `assigned`, `unassigned`, `labeled`, `unlabeled`, `opened`, `edited`, `closed`, `reopened`, `synchronize`, `converted_to_draft`, `ready_for_review`, `locked`, `unlocked`, `review_requested`, `review_request_removed`, `auto_merge_enabled`, `auto_merge_disabled`.", + "description": "The types of pull request activity that trigger the workflow. Supported activity types: `assigned`, `unassigned`, `labeled`, `unlabeled`, `opened`, `edited`, `closed`, `reopened`, `synchronize`, `converted_to_draft`, `locked`, `unlocked`, `enqueued`, `dequeued`, `milestoned`, `demilestoned`, `ready_for_review`, `review_requested`, `review_request_removed`, `auto_merge_enabled`, `auto_merge_disabled`.", "one-of": [ "pull-request-target-activity-type", "pull-request-target-activity-types" @@ -984,9 +1031,13 @@ "reopened", "synchronize", "converted_to_draft", - "ready_for_review", "locked", "unlocked", + "enqueued", + "dequeued", + "milestoned", + "demilestoned", + "ready_for_review", "review_requested", "review_request_removed", "auto_merge_enabled", @@ -1221,6 +1272,13 @@ "sequence-of-non-empty-string" ] }, + "event-names": { + "description": "Use the `names` filter when you want to include names via patterns or when you want to both include and exclude names using patterns. ", + "one-of": [ + "non-empty-string", + "sequence-of-non-empty-string" + ] + }, "event-tags": { "description": "Use the `tags` filter when you want to include tag name patterns or when you want to both include and exclude tag names patterns. You cannot use both the `tags` and `tags-ignore` filters for the same event in a workflow.", "one-of": [ @@ -1249,6 +1307,13 @@ "sequence-of-non-empty-string" ] }, + "event-versions": { + "description": "Use the `versions` filter when you want to include versions via patterns or when you want to both include and exclude versions using patterns. ", + "one-of": [ + "non-empty-string", + "sequence-of-non-empty-string" + ] + }, "repository-dispatch-string": { "description": "You can use the GitHub API to trigger a webhook event called `repository_dispatch` when you want to trigger a workflow for activity that happens outside of GitHub.", "string": { @@ -1482,7 +1547,7 @@ }, "default": "workflow-dispatch-input-default", "options": { - "type": "sequence-of-non-empty-string", + "type": "sequence-of-string", "description": "The options of the dropdown list, if the type is a choice." } } @@ -1521,6 +1586,10 @@ "type": "permission-level-any", "description": "Actions workflows, workflow runs, and artifacts." }, + "artifact-metadata": { + "type": "permission-level-any", + "description": "Storage and deployment records for build artifacts." + }, "attestations": { "type": "permission-level-any", "description": "Artifact attestations." @@ -1710,7 +1779,8 @@ "concurrency": "job-concurrency", "outputs": "job-outputs", "defaults": "job-defaults", - "steps": "steps" + "steps": "steps", + "snapshot": "snapshot" } } }, @@ -1780,9 +1850,7 @@ "cancelled(0,0)", "success(0,MAX)" ], - "string": { - "is-expression": true - } + "string": {} }, "job-if-result": { "context": [ @@ -1854,6 +1922,41 @@ "loose-value-type": "any" } }, + "snapshot": { + "description": "Use `snapshot` to define a custom image you want to create or update after your job succeeds by taking a snapshot of your runner.", + "one-of": [ + "non-empty-string", + "snapshot-mapping" + ] + }, + "snapshot-mapping": { + "mapping": { + "properties": { + "image-name": { + "description": "The desired name of the custom image you want to create or update.", + "type": "non-empty-string", + "required": true + }, + "if": "snapshot-if", + "version": { + "description": "The desired major version updates upon a new custom image version creation.", + "type": "non-empty-string" + } + } + } + }, + "snapshot-if": { + "context": [ + "github", + "inputs", + "vars", + "needs", + "strategy", + "matrix" + ], + "description": "Use the if conditional to prevent a snapshot from being taken unless a condition is met. Any supported context and expression can be used to create a conditional. Expressions in an `if` conditional do not require the bracketed expression syntax. When you use expressions in an `if` conditional, you may omit the expression syntax because GitHub automatically evaluates the `if` conditional as an expression.", + "string": {} + }, "runs-on": { "description": "Use `runs-on` to define the type of machine to run the job on.\n* The destination machine can be either a GitHub-hosted runner, larger runner, or a self-hosted runner.\n* You can target runners based on the labels assigned to them, or their group membership, or a combination of these.\n* You can provide `runs-on` as a single string or as an array of strings.\n* If you specify an array of strings, your workflow will execute on any runner that matches all of the specified `runs-on` values.\n* If you would like to run your workflow on multiple machines, use `jobs..strategy`.", "context": [ @@ -2117,9 +2220,7 @@ "hashFiles(1,255)" ], "description": "Use the `if` conditional to prevent a step from running unless a condition is met. Any supported context and expression can be used to create a conditional. Expressions in an `if` conditional do not require the bracketed expression syntax. When you use expressions in an `if` conditional, you may omit the expression syntax because GitHub automatically evaluates the `if` conditional as an expression.", - "string": { - "is-expression": true - } + "string": {} }, "step-if-result": { "context": [ @@ -2326,6 +2427,11 @@ "item-type": "non-empty-string" } }, + "sequence-of-string": { + "sequence": { + "item-type": "string" + } + }, "boolean-needs-context": { "context": [ "github", diff --git a/workflow-parser/src/workflows/workflow-schema.ts b/workflow-parser/src/workflows/workflow-schema.ts index d2b7dc2..5ffe5b0 100644 --- a/workflow-parser/src/workflows/workflow-schema.ts +++ b/workflow-parser/src/workflows/workflow-schema.ts @@ -1,6 +1,6 @@ import {JSONObjectReader} from "../templates/json-object-reader"; import {TemplateSchema} from "../templates/schema"; -import WorkflowSchema from "../workflow-v1.0.json"; +import WorkflowSchema from "../workflow-v1.0.min.json"; let schema: TemplateSchema; diff --git a/workflow-parser/src/workflows/yaml-object-reader.ts b/workflow-parser/src/workflows/yaml-object-reader.ts index ce93d9a..dc8fbfb 100644 --- a/workflow-parser/src/workflows/yaml-object-reader.ts +++ b/workflow-parser/src/workflows/yaml-object-reader.ts @@ -1,4 +1,16 @@ -import {isCollection, isDocument, isMap, isPair, isScalar, isSeq, LineCounter, parseDocument, Scalar} from "yaml"; +import { + isAlias, + isCollection, + isDocument, + isMap, + isPair, + isScalar, + isSeq, + LineCounter, + parseDocument, + Scalar +} from "yaml"; +import type {Document} from "yaml"; import type {LinePos} from "yaml/dist/errors"; import type {NodeBase} from "yaml/dist/nodes/Node"; import {ObjectReader} from "../templates/object-reader"; @@ -22,30 +34,31 @@ export type YamlError = { export class YamlObjectReader implements ObjectReader { private readonly _generator: Generator; private _current!: IteratorResult; + private readonly doc: Document; private fileId?: number; private lineCounter = new LineCounter(); public errors: YamlError[] = []; constructor(fileId: number | undefined, content: string) { - const doc = parseDocument(content, { + this.doc = parseDocument(content, { lineCounter: this.lineCounter, keepSourceTokens: true, uniqueKeys: false // Uniqueness is validated by the template reader }); - for (const err of doc.errors) { + for (const err of this.doc.errors) { this.errors.push({message: err.message, range: rangeFromLinePos(err.linePos)}); } - this._generator = this.getNodes(doc); + this._generator = this.getNodes(this.doc, new Set()); this.fileId = fileId; } - private *getNodes(node: unknown): Generator { + private *getNodes(node: unknown, aliasResolutionStack: Set): Generator { let range = this.getRange(node as NodeBase | undefined); if (isDocument(node)) { yield new ParseEvent(EventType.DocumentStart); - for (const item of this.getNodes(node.contents)) { + for (const item of this.getNodes(node.contents, new Set())) { yield item; } yield new ParseEvent(EventType.DocumentEnd); @@ -59,7 +72,7 @@ export class YamlObjectReader implements ObjectReader { } for (const item of node.items) { - for (const child of this.getNodes(item)) { + for (const child of this.getNodes(item, aliasResolutionStack)) { yield child; } } @@ -74,12 +87,32 @@ export class YamlObjectReader implements ObjectReader { yield new ParseEvent(EventType.Literal, YamlObjectReader.getLiteralToken(this.fileId, range, node)); } + // Handle YAML aliases - resolve to the anchored value + if (isAlias(node)) { + const resolved = node.resolve(this.doc); + if (resolved) { + // Prevent infinite recursion from circular aliases + if (aliasResolutionStack.has(resolved)) { + // Silently ignore circular reference - the missing content will cause + // downstream validation errors which is acceptable for this edge case + return; + } + // Track this node in the alias resolution stack + const newStack = new Set(aliasResolutionStack); + newStack.add(resolved); + // Yield the resolved node's contents + yield* this.getNodes(resolved, newStack); + } + // If unresolved, the yaml library already reports an error + return; + } + if (isPair(node)) { const scalarKey = node.key as Scalar; range = this.getRange(scalarKey); const key = scalarKey.value as string; yield new ParseEvent(EventType.Literal, new StringToken(this.fileId, range, key, undefined)); - for (const child of this.getNodes(node.value)) { + for (const child of this.getNodes(node.value, aliasResolutionStack)) { yield child; } } diff --git a/workflow-parser/testdata/reader/events-mapping-all.yml b/workflow-parser/testdata/reader/events-mapping-all.yml index 94b26ef..b144587 100644 --- a/workflow-parser/testdata/reader/events-mapping-all.yml +++ b/workflow-parser/testdata/reader/events-mapping-all.yml @@ -120,6 +120,8 @@ on: - unassigned - labeled - unlabeled + - milestoned + - demilestoned - opened - edited - closed @@ -129,6 +131,8 @@ on: - ready_for_review - locked - unlocked + - enqueued + - dequeued - review_requested - review_request_removed - auto_merge_enabled @@ -160,6 +164,8 @@ on: - unassigned - labeled - unlabeled + - milestoned + - demilestoned - opened - edited - closed @@ -169,6 +175,8 @@ on: - ready_for_review - locked - unlocked + - enqueued + - dequeued - review_requested - review_request_removed - auto_merge_enabled @@ -386,6 +394,8 @@ jobs: "unassigned", "labeled", "unlabeled", + "milestoned", + "demilestoned", "opened", "edited", "closed", @@ -395,6 +405,8 @@ jobs: "ready_for_review", "locked", "unlocked", + "enqueued", + "dequeued", "review_requested", "review_request_removed", "auto_merge_enabled", @@ -441,6 +453,8 @@ jobs: "unassigned", "labeled", "unlabeled", + "milestoned", + "demilestoned", "opened", "edited", "closed", @@ -450,6 +464,8 @@ jobs: "ready_for_review", "locked", "unlocked", + "enqueued", + "dequeued", "review_requested", "review_request_removed", "auto_merge_enabled", diff --git a/workflow-parser/testdata/reader/job-snapshot-mapping.yml b/workflow-parser/testdata/reader/job-snapshot-mapping.yml new file mode 100644 index 0000000..2689a6e --- /dev/null +++ b/workflow-parser/testdata/reader/job-snapshot-mapping.yml @@ -0,0 +1,58 @@ +include-source: false # Drop file/line/col from output +--- +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: echo hi + snapshot: + image-name: custom-image + version: 1.* + if: ${{ github.event_name == 'something' }} + +--- +{ + "jobs": [ + { + "type": "job", + "id": "build", + "name": "build", + "if": { + "type": 3, + "expr": "success()" + }, + "runs-on": "ubuntu-latest", + "steps": [ + { + "id": "__run", + "if": { + "type": 3, + "expr": "success()" + }, + "run": "echo hi" + } + ], + "snapshot": { + "type": 2, + "map": [ + { + "Key": "image-name", + "Value": "custom-image" + }, + { + "Key": "version", + "Value": "1.*" + }, + { + "Key": "if", + "Value": { + "type": 3, + "expr": "github.event_name == 'something'" + } + } + ] + } + } + ] +} \ No newline at end of file diff --git a/workflow-parser/testdata/reader/job-snapshot-simple.yml b/workflow-parser/testdata/reader/job-snapshot-simple.yml new file mode 100644 index 0000000..b009a09 --- /dev/null +++ b/workflow-parser/testdata/reader/job-snapshot-simple.yml @@ -0,0 +1,42 @@ +include-source: false # Drop file/line/col from output +--- +# on: push +# jobs: +# job1: +# runs-on: windows-2019 +# snapshot: custom-image +# steps: +# - run: echo 1 +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: echo hi + snapshot: custom-image +--- +{ + "jobs": [ + { + "type": "job", + "id": "build", + "name": "build", + "if": { + "type": 3, + "expr": "success()" + }, + "runs-on": "ubuntu-latest", + "steps": [ + { + "id": "__run", + "if": { + "type": 3, + "expr": "success()" + }, + "run": "echo hi" + } + ], + "snapshot": "custom-image" + } + ] +} \ No newline at end of file diff --git a/workflow-parser/testdata/reader/on-event-config-image-version-name-version.yml b/workflow-parser/testdata/reader/on-event-config-image-version-name-version.yml new file mode 100644 index 0000000..fbfb045 --- /dev/null +++ b/workflow-parser/testdata/reader/on-event-config-image-version-name-version.yml @@ -0,0 +1,49 @@ +include-source: false +skip: + - C# + - Go +--- +on: + image_version: + names: testing + versions: 1.* +jobs: + my-job: + runs-on: ubuntu-latest + steps: + - run: echo hi +--- +{ + "events": { + "image_version": { + "versions": [ + "1.*" + ], + "names": [ + "testing" + ] + } + }, + "jobs": [ + { + "type": "job", + "id": "my-job", + "name": "my-job", + "if": { + "type": 3, + "expr": "success()" + }, + "runs-on": "ubuntu-latest", + "steps": [ + { + "id": "__run", + "if": { + "type": 3, + "expr": "success()" + }, + "run": "echo hi" + } + ] + } + ] +} \ No newline at end of file diff --git a/workflow-parser/testdata/reader/on-event-config-image-version-names.yml b/workflow-parser/testdata/reader/on-event-config-image-version-names.yml new file mode 100644 index 0000000..0656753 --- /dev/null +++ b/workflow-parser/testdata/reader/on-event-config-image-version-names.yml @@ -0,0 +1,53 @@ +include-source: false +skip: + - C# + - Go +--- +on: + image_version: + types: + - ready + names: + - one + - two +jobs: + my-job: + runs-on: ubuntu-latest + steps: + - run: echo hi +--- +{ + "events": { + "image_version": { + "types": [ + "ready" + ], + "names": [ + "one", + "two" + ] + } + }, + "jobs": [ + { + "type": "job", + "id": "my-job", + "name": "my-job", + "if": { + "type": 3, + "expr": "success()" + }, + "runs-on": "ubuntu-latest", + "steps": [ + { + "id": "__run", + "if": { + "type": 3, + "expr": "success()" + }, + "run": "echo hi" + } + ] + } + ] +} \ No newline at end of file diff --git a/workflow-parser/testdata/reader/on-event-config-image-version-versions.yml b/workflow-parser/testdata/reader/on-event-config-image-version-versions.yml new file mode 100644 index 0000000..52dcaa5 --- /dev/null +++ b/workflow-parser/testdata/reader/on-event-config-image-version-versions.yml @@ -0,0 +1,53 @@ +include-source: false +skip: + - C# + - Go +--- +on: + image_version: + types: + - ready + versions: + - "1.0.0" + - "1.0.1" +jobs: + my-job: + runs-on: ubuntu-latest + steps: + - run: echo hi +--- +{ + "events": { + "image_version": { + "types": [ + "ready" + ], + "versions": [ + "1.0.0", + "1.0.1" + ] + } + }, + "jobs": [ + { + "type": "job", + "id": "my-job", + "name": "my-job", + "if": { + "type": 3, + "expr": "success()" + }, + "runs-on": "ubuntu-latest", + "steps": [ + { + "id": "__run", + "if": { + "type": 3, + "expr": "success()" + }, + "run": "echo hi" + } + ] + } + ] +} diff --git a/workflow-parser/testdata/reader/on-event-config-string-image-version.yml b/workflow-parser/testdata/reader/on-event-config-string-image-version.yml new file mode 100644 index 0000000..9ac6dd6 --- /dev/null +++ b/workflow-parser/testdata/reader/on-event-config-string-image-version.yml @@ -0,0 +1,39 @@ +include-source: false +skip: + - C# + - Go +--- +on: image_version +jobs: + my-job: + runs-on: ubuntu-latest + steps: + - run: echo hi +--- +{ + "events": { + "image_version": {} + }, + "jobs": [ + { + "type": "job", + "id": "my-job", + "name": "my-job", + "if": { + "type": 3, + "expr": "success()" + }, + "runs-on": "ubuntu-latest", + "steps": [ + { + "id": "__run", + "if": { + "type": 3, + "expr": "success()" + }, + "run": "echo hi" + } + ] + } + ] +} diff --git a/workflow-parser/testdata/skipped-tests.txt b/workflow-parser/testdata/skipped-tests.txt index 7da9375..9f0ac87 100644 --- a/workflow-parser/testdata/skipped-tests.txt +++ b/workflow-parser/testdata/skipped-tests.txt @@ -50,7 +50,6 @@ errors-step-uses-syntax.yml errors-unclosed-tokens.yml errors-yaml-invalid-style.yml errors-yaml-tags-explicit-unsupported.yml -escape-html-values.yml float-folded-style.yml insert.yml is-partial-rerun.yml @@ -59,7 +58,6 @@ job-cancel-timeout-minutes.yml job-concurrency.yml job-continue-on-error.yml job-defaults.yml -job-if.yml job-permissions.yml job-timeout-minutes.yml matrix-basic.yml @@ -85,7 +83,6 @@ reusable-workflow-job-permissions-overrides-default-write.yml reusable-workflow-job-permissions-overrides-workflow-level.yml root-env-defaults.yml round-to-infinity.yml -step-if.yml scientific-notation-number.yml skip-reusable-workflows.yml workflow-defaults.yml